Problem Statement
Which command displays all network interfaces and their IP addresses?
Explanation
The ip a command lists all network interfaces, their assigned IP addresses, and their operational states.
It replaces older tools like ifconfig in modern Linux systems.
Code Solution
SolutionRead Only
ip a
Practice Sets
This question appears in the following practice sets: