Skip to content

Instantly share code, notes, and snippets.

@jonahgeorge
Created March 14, 2014 07:07
Show Gist options
  • Save jonahgeorge/9543263 to your computer and use it in GitHub Desktop.
Save jonahgeorge/9543263 to your computer and use it in GitHub Desktop.
Tcpdump Examples
# Captures one packet and writes it to output.pcap
sudo tcpdump -I -P -i en0 -w output.pcap -c 1
# Converts output.pcap to a more human-friendly format
tshark -r output.pcap -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment