$ ip
Show or manipulate routing, network devices, interfaces and tunnels
DOCUMENTEDNetworkingUbuntu 24.04 LTS baseline
Synopsis
ip [ OPTIONS ] OBJECT { COMMAND | help }
What it does
- `ip` is the primary iproute2 utility for inspecting and configuring Linux networking.
- Commands that change networking state generally require elevated privileges.
Examples
Show addresses
ip addrShow routes
ip routeShow link devices
ip linkImportant details
These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration.
For exact option semantics, the linked authoritative documentation is the source of truth.