CompTIA Linux+ (XK0-005) — Question 292
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?
Answer options
- A. ip list interface eth3
- B. ip addr show dev eth3
- C. ip show eth3
- D. ip config eth3
Correct answer: B
Explanation
The correct command is 'ip addr show dev eth3' as it specifically provides comprehensive details about the eth3 interface, including its status and IP configuration. The other options either have incorrect syntax or do not provide the necessary information for interface details.