Skip to content

Latest commit

 

History

History
executable file
·
41 lines (28 loc) · 1.32 KB

configuration.md

File metadata and controls

executable file
·
41 lines (28 loc) · 1.32 KB
title description date author summary weight draft
Configuration
A config will always approach perfection
2019-07-04
Ross Jacobs
30
false

Custom Configuration

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

Add Tshark Alias

Aliases allow you to define default behavior or multiple sets of behavior.

Custom Config Alias

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'

--color

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.