title | description | date | author | summary | weight | draft |
---|---|---|---|---|---|---|
Configuration |
A config will always approach perfection |
2019-07-04 |
Ross Jacobs |
Wireshark [Config Profiles](https://www.wireshark.org/docs/wsug_html_chunked/ChAppFilesConfigurationSection.html) | [Customization](https://www.wireshark.org/docs/wsug_html_chunked/ChapterCustomize.html) |
30 |
false |
Tshark, like Wireshark, uses a preferences file. A different preference file or keys can be specified with flags.
Command | Does |
---|---|
tshark -C /path/to/config |
Uses custom configuration file |
tshark -o key:value |
Overrides the specified preferences key |
Aliases allow you to define default behavior or multiple sets of behavior.
If you want to launch tshark with a custom configuration once in a blue moon, you could add an alias for it:
alias tshark-bluemoon='tshark -C BlueConfig -o BlueKey:BlueVal'
To always enable color, add a line to your .profile or .bashrc:
echo "alias tshark='tshark --color'" >> ~/.profile
For more information, check out Tshark Colorized.