ip
is a *nix command for viewing networking information of the host. It’s a better version of ifconfig
that is present on modern Linux systems.
You may abbreviate a subcommand as long as it is unambiguous.
For example,
ip a
,ip addr
, andip address
are all equivalent, since there is no other subcommand that starts witha
.
Common oneliners:
See Interpreting ip link and address command output to understand the output of ip addr
.