Mac tshark Error: command not found: tshark

Mac tshark reports an error: command not found

Tshark is already installed when Wireshark is installed. Directory:/applications/wireshark.app/contents/macos/tshark

So just link this directory to the environment by using soft connection:

Sudo ln – S/applications/wireshark.app/contents/macos/tshark/usr/local/bin/tshark

then enter the password.Experiment: tshark -v

Similar Posts: