Question 131 · 871 in bank
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?
Show answer
Answer: D
Explanation
-a Display All connections and listening ports. -e Display Ethernet statistics. (may be combined with -s) -n Display addresses and port numbers in Numerical form. -r Display the Routing table. -o Display the Owning process ID associated with each connection. -b Display the exe involved in creating each connection or listening port.* -v Verbose - use in conjunction with -b, to display the sequence of components involved for all executables. -p protocol Show only connections for the protocol specified; can be any of: TCP, UDP, TCPv6 or UDPv6. If used with the -s option then the following protocols can also be specified: IP, IPv6, ICMP,or ICMPv6. -s Display per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; (The v6 protocols are not available under 2k and NT4) The -p option can be used to display just a subset of these.
Source: Adapted from community discussion — alwaysrollin247