![Forrest logo](/images/logo.png)
tcpdump:tldr:98770
tcpdump: List available network interfaces.
$ tcpdump -D
try on your machine
The command "tcpdump -D" is used to list the available network interfaces on a system that can be used with tcpdump, a command-line packet analyzer.
When you run "tcpdump -D," it queries the system and displays a numbered list of all the network interfaces that tcpdump can monitor for network traffic. These interfaces could include Ethernet, Wi-Fi, loopback, or any other network device connected to the system.
The output will typically include the interface number and its corresponding name or description. This information can be useful for specifying the interface to capture network packets when running tcpdump.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.