nerdexam
CompTIA

XK0-005 · Question #843

A Linux systems administrator wants to validate the network interfaces configuration and status on a Linux server. Which of the following commands should the administrator use to display the…

The correct answer is B. ip addr show dev eth3. 'ip addr show dev eth3' is the correct modern Linux command to display address information (IP, subnet mask) and link status for a specific interface. 'ip list interface eth3' (A) and 'ip show eth3' (C) are not valid ip command syntax. 'ip config eth3' (D) mimics ifconfig…

System Management

Question

A Linux systems administrator wants to validate the network interfaces configuration and status on a Linux server. Which of the following commands should the administrator use to display the information for interface eth3 including status, IP address, subnet mask, and configuration?

Options

  • Aip list interface eth3
  • Bip addr show dev eth3
  • Cip show eth3
  • Dip config eth3

How the community answered

(55 responses)
  • A
    7% (4)
  • B
    89% (49)
  • C
    2% (1)
  • D
    2% (1)

Explanation

'ip addr show dev eth3' is the correct modern Linux command to display address information (IP, subnet mask) and link status for a specific interface. 'ip list interface eth3' (A) and 'ip show eth3' (C) are not valid ip command syntax. 'ip config eth3' (D) mimics ifconfig syntax but is not valid for the 'ip' utility. The 'ip addr show dev <interface>' form is the standard iproute2 syntax.

Topics

#Linux Networking#ip command#Network Configuration#Command-line Tools

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice