5 ms·
>"ip addr show" lists interfaces and their stats. It's harder to read than ifconfig -a but gives you the same information in a similar format. It's worth notin
by iokanuon 4y ago
>"ip addr show" lists interfaces and their stats. It's harder to read than ifconfig -a but gives you the same information in a similar format.
It's worth noting that `-br` gives you a brief version of the output, and `-c` colors it, so that it's possible to do something like this:
ip -br -c addr
to get a very readable and colorful table-like output.
There's also `-j` for JSON, and `-j -p` for pretty JSON.