312-49 · Question #137
Netstat is a tool for collecting Information regarding network connections. It provides a simple view of TCP and UDP connections, and their state and network traffic statistics. Which of the…
The correct answer is A. netstat -ano. 'netstat -ano' combines three flags: '-a' (shows all active connections and listening ports for both TCP and UDP), '-n' (displays addresses and port numbers numerically instead of resolving hostnames), and '-o' (shows the owning process identifier/PID for each connection)…
Question
Netstat is a tool for collecting Information regarding network connections. It provides a simple view of TCP and UDP connections, and their state and network traffic statistics. Which of the following commands shows you the TCP and UDP network connections, listening ports, and the identifiers?
Options
- Anetstat -ano
- Bnetstat -b
- Cnetstat -r
- Dnetstat -s
How the community answered
(26 responses)- A96% (25)
- D4% (1)
Explanation
'netstat -ano' combines three flags: '-a' (shows all active connections and listening ports for both TCP and UDP), '-n' (displays addresses and port numbers numerically instead of resolving hostnames), and '-o' (shows the owning process identifier/PID for each connection). Together, this gives a complete picture of all network connections, their state, ports, and the process responsible - useful for identifying suspicious or unauthorized connections during an investigation.
Topics
Community Discussion
No community discussion yet for this question.