Back to the learning path

ip

ip: Internet Protocol tool Command details
Step 1/2: Cards and addresses

ip addr (ip a) lists every network card: lo is the loopback, eth0 a card; inet is followed by the IPv4 address and prefix length (/24), inet6 by IPv6. ip -br addr is one line per card; ip -4 addr show eth0 only IPv4 of one card.

$ ip addr
Fundamentalsipnetwork
This machine's IP address
Use ip to show the IPv4 address of the network card eth0.

This exercise needs real Linux

The commands it uses (processes, networking and more) are not in the simulator. Switch to real Linux and the exercise runs in a real Linux system inside your browser.

pingNext lesson:ss