Which legacy Linux/Mac command displays network interface configuration and has been replaced by a modern option on newer Linux systems?

Enhance your knowledge of network operations with our engaging test. Delve into management, protocols, and backup strategies with multiple-choice questions and study tips. Prepare effectively for your exam!

Multiple Choice

Which legacy Linux/Mac command displays network interface configuration and has been replaced by a modern option on newer Linux systems?

Explanation:
Displaying network interface configuration on Linux has long relied on the ifconfig command. This older tool from the net-tools package shows details like IP address, netmask, broadcast, and MAC for each interface and could also be used to configure interfaces in the past. On newer Linux systems, that role has shifted to the ip command from the iproute2 package, with the modern equivalent for listing addresses being ip addr show (often written as ip a). This provides more flexible, consistent output and supports newer networking features. The other options don’t fit: ipconfig is a Windows utility, Traceroute is used for path discovery to a host, and ip addr show is the modern replacement rather than the legacy one. The legacy command described here is ifconfig.

Displaying network interface configuration on Linux has long relied on the ifconfig command. This older tool from the net-tools package shows details like IP address, netmask, broadcast, and MAC for each interface and could also be used to configure interfaces in the past. On newer Linux systems, that role has shifted to the ip command from the iproute2 package, with the modern equivalent for listing addresses being ip addr show (often written as ip a). This provides more flexible, consistent output and supports newer networking features. The other options don’t fit: ipconfig is a Windows utility, Traceroute is used for path discovery to a host, and ip addr show is the modern replacement rather than the legacy one. The legacy command described here is ifconfig.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy