Comment Comment by iokanuon >"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. parent iokanuon 4 years ago
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:
to get a very readable and colorful table-like output.There's also `-j` for JSON, and `-j -p` for pretty JSON.