Email or username:

Password:

Forgot your password?
nixCraft 🐧

//Did you know you can colorize and print all IP addresses and interfaces on Linux in a tabular format for better readability? The syntax is:

ip -br -c addr show
ip -br -c link show

See our ip command guide cyberciti.biz/faq/linux-ip-com pretty cool, huh?

#Linux #SysAdmin

“ip -br -c addr show” Linux command outputs is colorize and print all IP addresses and interfaces on Linux in a tabular format for better readability
9 comments
Chris :damnified:

@nixCraft This is really something :) Sometimes I want to quick check on which server I do an update and IP addresses say more than a thousand DNS entries :-D

roddie digital :n64:

@nixCraft Never knew about this, just tested it and even `ip -c a` works a treat

CatSalad🐈🥗 (D.Burch) :blobcatrainbow:

@nixCraft But I have been informed that Microsoft Copilot doesn't handle tables really well... Won't somebody think about the AI?! 😢

thebluemarble 🏳️‍🌈

@nixCraft Oh well, looks like it's time to add yet another alias to .bashrc

Piousunyn

@nixCraft Scares me away from Linux, when I see the tech stuff.

ploppy

@nixCraft I did not and I find searching for an IP in this standard wall of text annoying. So… Thank you. I hope I remember it next time I need it. 😅 (but then I will probably be on an embedded system that does not support colors or sth.)

Mick 🇨🇦

@nixCraft I did not, and now my life has been improved. Thanks!

Go Up