Terminal Dojo
Help العربية Sign inGet started

Command library / ip

ip

BashDraft — pending expert review4 practice missions

Show network interfaces, addresses and routes

The modern replacement for ifconfig, route and arp on Linux. The first word after ip is the object you're asking about: addr (the host's IP addresses), route (where traffic goes, including the default gateway) or neigh (the neighbour, or ARP, table). Each object has a short form: a, r, n. ip's own options, such as -br, go before the object.

Practice ip

Usage

ip [-br] [-4|-6] object [command]

Options and flags

Examples

Common mistakes

ip adress ip addr

The object is address, addr or just a; a misspelling such as adress is rejected.

Related commands

pingtraceroutess