Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

ip

Show or manage network devices, routing, etc.

Syntax

ip [OPTION]... OBJECT {COMMAND}

Common Options

addrShow/manage IP addresses
linkShow/manage network devices
routeShow/manage routing table
neighShow/manage ARP cache
-cColor output
-sShow statistics
-4IPv4 only
-6IPv6 only

Common Examples

ip addr show

Show all IP addresses

ip link show

Show network devices

ip route show

Show routing table

ip addr add 192.168.1.100/24 dev eth0

Add IP address

ip link set eth0 up

Enable interface

ip neigh show

Show ARP cache

ip -s link

Show device stats

ip route add default via 192.168.1.1

Add default route

Related Commands

Related Tools

More Code & Dev Tools