ip
Show or configure network interfaces, addresses, and routes.
Syntax
$ip [LINK|ADDR|ROUTE|...] [OPTIONS]
Examples
Examples
$ip addr show
Examples
$ip route add default via 192.0.2.1
Typical use cases
ip addr show
ip route show
ip link set eth0 up
Note
Modern replacement for ifconfig and route (iproute2).
Export