TestOut Linux Pro Practice Test 2025 – All-in-One Guide to Master Your Certification!

Question: 1 / 400

Which command would be used to find the status of a specific network interface?

ifconfig

ip addr

To determine the status of a specific network interface, the command "ip addr" is used. This command is part of the "ip" suite, which is a modern replacement for the older "ifconfig" command. When executed, "ip addr" displays detailed information about all network interfaces on the system, including the interface's status, IP address, MAC address, and other relevant details. This command is valuable for obtaining a comprehensive view of the network configuration on a Linux system.

In contrast, "ifconfig" (the first choice) is an older utility that can also show the status of network interfaces but is not as commonly used in newer distributions. While it can provide useful information, it doesn't have the same level of detail or functionality as the "ip" command.

The "netstat" command is typically used for monitoring network connections and statistics, which does not primarily focus on the status of network interfaces themselves. Lastly, "ifup" is a command used to enable an interface that has been configured but does not provide status information about existing interfaces. Thus, "ip addr" is the most appropriate command for checking the status of a specific network interface.

Get further explanation with Examzify DeepDiveBeta

netstat

ifup

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy