Modern Linux favors ip from iproute2 over legacy ifconfig. ip addr shows addresses, ip route the FIB, and ip neigh the ARP/NDP cache. ss lists sockets—pair with -lptn for listening TCP ports and processes. ping and traceroute test reachability; dig or resolvectl debug DNS. nmcli controls NetworkManager profiles on desktops and servers alike.
| Command | Purpose | Example |
|---|---|---|
| ip -br a | Brief addresses | Quick host overview |
| ss -tanp | TCP sockets + processes | Find who listens on 443 |
| ip route get | Path selection | See which iface hits 8.8.8.8 |
Related
ss and netstat, netstat vs ss, ping vs traceroute vs MTR, DNS troubleshooting, Linux routing tables