How to create a TCP Dump capture for Wireshark

Home > Search > How-to

At the bare minimum, the tcpdump command followed by the interface that you want to view the packets against is needed for the tcpdump command to display the packets in the console.

tcpdump -i eth0


The -v option produces verbose output, and the -w option writes the output to a file, instead of the console.

tcpdump -i eth0 -v -w capture.pcap 


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.