CompTIA Network+ (N10-008) — Question 157
A network administrator wants to check all network connections and see the output in integer form. Which of the following commands should the administrator run on the command line?
Answer options
- A. netstat
- B. netstat -a
- C. netstat -e
- D. netstat -n
Correct answer: D
Explanation
The correct answer is D, as the 'netstat -n' command displays network connections in numerical form, showing IP addresses and port numbers without resolving them to names. Options A, B, and C do not specifically provide the output in integer form, with A and B offering more general information and C focusing on Ethernet statistics.