Back to Directory

Wireshark (Tshark)

Networking & Sniffing

Network protocol analyzer (CLI version).

Customize the parameters below to generate your target command. Use the preview box to verify syntax and click the clipboard icon to copy.

Configure Options

Filter packets based on protocol, port, etc.

Write to file (-w)

Generated Command

bash - CommandsLab
$ tshark -i eth0

Command Breakdown

  • Tool:Wireshark (Tshark) — Network protocol analyzer (CLI version).
  • Interface:eth0

About this tool

Tshark is a network protocol analyzer. It lets you capture packet data from a live network, or read packets from a previously saved capture file.

Pro Tip: Focus on understanding the core options first. You can use the generated command directly in your terminal, and view the Command Breakdown above to see what each flag does.