Ace your COMPTIA A+ certification with our practice exam. Engage with a variety of questions including multiple choice and performance-based, complete with hints and detailed explanations. Prepare effectively and boost your confidence for the big day!

Practice this question and more.


How can you display all active connections in IP format?

  1. netstat -r

  2. netstat

  3. netstat -n

  4. netstat -i

The correct answer is: netstat -n

Netstat is a command-line utility used to display network connection information on a computer. The -n option specifies that this information should be displayed in numerical form, including IP addresses instead of hostnames. Option A netstat -r displays the routing table, not active network connections. Option B: netstat displays active connections, but not in IP format. Option D: netstat -i displays interface statistics, not active connections.