A technician needs to display all active connections and listening ports on a Windows computer, including the associated executable. Which command should they use to obtain this information?
The command netstat -b is used to display all active connections and listening ports along with the executable involved in creating each connection. This option provides detailed information that can be used for monitoring and troubleshooting network issues. By contrast, -a shows all active connections and listening ports without the executable information, -o displays active connections with their process IDs but without the executable name, and -r shows the routing table rather than specific connection details.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the '-b' flag do in the netstat command?
Open an interactive chat with Bash
How does netstat differ from other commands like ipconfig?
Open an interactive chat with Bash
Can you explain the other netstat options mentioned, like '-a', '-o', and '-r'?