Networking

ip

Shows and configures networking state.

ip is the modern tool for addresses, routes, links, and neighbors. It replaces older tools such as ifconfig and route.

Syntax
ip [object] [command]

Arguments explained

  • addr shows IP addresses.
  • link shows network interfaces.
  • route shows routing table.
  • -brief produces compact output.

Common examples

Show addresses briefly
ip -brief addr

Lists interfaces and their IP addresses compactly.

Show default route
ip route

Displays how traffic leaves the system.

ip Command
FieldDetails
Commandip
CategoryNetworking
Primary useShows and configures networking state.
Syntaxip [object] [command]