Tshark is a terminal-oriented version of Wireshark. It's a network protocol analyzer.
Basic Capture
tshark# -i: interface (default: eth0)tshark-itun0# --list-interface: List interfaces availabletshark--list-interfaces# -r: Use a captured filetshark-rexample.pcapng# Number of packetstshark-rexample.pcapng|wc-l