tcpdump -i eth0 -n port 80

Category: Networking

tcpdump -i eth0 -n port 80

Capture HTTP traffic on eth0 without DNS resolution

tcpdump is the Swiss Army knife of packet capture. -i specifies the interface, -n disables reverse DNS (speeds things up), port 80 is a BPF filter. Requires root. Output shows timestamp, src/dst IP:port, TCP flags, and payload size.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.