An administrator is configuring a Linux server and needs to verify the server's network interface settings.
Which command is most appropriate for displaying all network interfaces and their current state?
Correct Answer: B
Correct Answer. B. ifconfig -a The ifconfig -a command in Unix/Linux systems lists all interfaces, active or inactive, along with their IP addresses, subnet masks, and other network-related statistics.
Option A is incorrect. ipconfig /release is a Windows command used to release the IP address, inappropriate and unavailable in Linux.
Option C is incorrect. nmap -sP is used for network scanning to discover hosts and services, not for viewing detailed interface configurations.
Option D is incorrect. arp -a displays the ARP cache which contains IP-to-MAC address mappings but does not provide detailed network interface configuration.