tcpdump
Verified for current stable LTS
Tcpdump Commands
Tcpdump command syntax with verified terminal examples.
Commands
8 commands for Tcpdump
tcpdump Operations
Tcpdump Command: Capture Network Traffic Common
sudo tcpdump net <192.168.1.0/24> tcpdump Operations
Tcpdump Command: Capture Tcp Traffic Contents Console Common
sudo tcpdump -A tcp tcpdump Operations
Tcpdump Command: Capture Traffic Except Port Write Dumpfile Common
sudo tcpdump -w <path/to/dumpfile.pcap> port not 22 tcpdump Operations
Tcpdump Command: Capture Traffic From Host Common
sudo tcpdump host <www.example.com> tcpdump Operations
Tcpdump Command: Capture Traffic Specific Interface Common
sudo tcpdump -i <eth0> tcpdump Operations
Tcpdump Command: Capture Traffic Specific Interface Source Destination Port Common
sudo tcpdump -i <eth0> src <192.168.1.1> and dst <192.168.1.2> and dst port <80> tcpdump Operations
Tcpdump Command: List Interfaces Common
tcpdump -D tcpdump Operations
Tcpdump Command: Read Dumpfile Common
tcpdump -r <path/to/dumpfile.pcap> Suggest a Tcpdump Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Tcpdump workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.