The command ip a (short for ip addr) displays the network interfaces and their associated IP addresses on a Linux system. It provides detailed information about each interface, including:
- Interface name (e.g.,
eth0,enp0s3) - IP addresses (both IPv4 and IPv6)
- Network mask
- MAC address
- Interface status (up or down)
- Other relevant details like broadcast address and scope
This command is useful for checking the network configuration and status of your system's interfaces.
