terminal.cab

All commands

ip

Topic: Network

Program: ip

Shows the interfaces, addresses and routes of the computer.

Package: net

Usage

ip [-br] [-4|-6] OBJECT [COMMAND]

Description

Show the network of this computer. ip address (a) lists interfaces and addresses, ip link (l) only the interfaces, ip route (r) the routes, ip route get ADDRESS the way to one address. ip link set NAME up|down changes an interface (root only). -br prints one short line per interface, -4 and -6 keep one address family.

Options in the simulator

No options.

27 more options of the real program, not in the simulator yet
  • --Version not in the simulator yet

    Explanation to come

  • --statistics not in the simulator yet

    Explanation to come

  • --details not in the simulator yet

    Explanation to come

  • --resolve not in the simulator yet

    Explanation to come

  • --human-readable not in the simulator yet

    Explanation to come

  • --iec not in the simulator yet

    Explanation to come

  • --json not in the simulator yet

    Explanation to come

  • --pretty not in the simulator yet

    Explanation to come

  • --family not in the simulator yet

    Explanation to come

  • --loops not in the simulator yet

    Explanation to come

  • --echo not in the simulator yet

    Explanation to come

  • --brief not in the simulator yet

    Explanation to come

  • --oneline not in the simulator yet

    Explanation to come

  • --timestamp not in the simulator yet

    Explanation to come

  • --tshort not in the simulator yet

    Explanation to come

  • --batch not in the simulator yet

    Explanation to come

  • --rcvbuf not in the simulator yet

    Explanation to come

  • --netns not in the simulator yet

    Explanation to come

  • --Numeric not in the simulator yet

    Explanation to come

  • --all not in the simulator yet

    Explanation to come

  • --color not in the simulator yet

    Explanation to come

  • --force not in the simulator yet

    Explanation to come

  • -4 not in the simulator yet

    Explanation to come

  • -6 not in the simulator yet

    Explanation to come

  • -M not in the simulator yet

    Explanation to come

  • -B not in the simulator yet

    Explanation to come

  • -0 not in the simulator yet

    Explanation to come

Examples

From the lesson Addresses and reachability
ip -br a
lo               UNKNOWN        127.0.0.1/8 ::1/128 
eth0             UP             203.0.113.10/24 

Try it in the terminal

Where you learn it

Lessons

All commands