Logo
Web01
Ch4os1@web01:~/commands/ip
← View all bash commands

ip

Show the current IP address.

Examples

ip addr show
              

Display all network interfaces and their IP addresses.

ip route show
              

Display the routing table.

Notes

This command affects only the current shell session.