Linux Commands Helper
💬 Your AI-powered Linux assistant
ip Command - Show / Manipulate Routing, Devices, Policy Routing
The ip command is a powerful tool for network configuration and management. It replaces many older networking commands like ifconfig
and route
.
Syntax
ip [options] object [command]
Examples
ip addr
Show all IP addresses assigned to all network interfaces.
ip link show
Show all network interfaces.
ip route
Show the routing table.
Notes
- ip is part of the iproute2 package and is the recommended tool for modern Linux networking.
- Replaces older tools like
ifconfig
androute
. - Requires root privileges for some operations.