Commands · Command
CommandLinux
ip
ip [object] [command] (objects: addr, link, route, etc.)The modern Linux tool for viewing and configuring network interfaces, addresses, and routing — the intended replacement for ifconfig.
// FLAGS
addr showlist interfaces and IPslink set eth0 upbring an interface uproute showshow the routing table// EXAMPLE
ip addr show — lists every network interface with its assigned IP addresses.
// GOTCHA
The unified ip command replaces several older single-purpose tools (ifconfig, route, arp) at once — muscle memory from ifconfig-based tutorials doesn't map 1:1, since the verb/object order is reversed (ip addr show eth0 vs. ifconfig eth0).
// RELATED COMMANDS