If, like me, you've ever been annoyed at people just saying to grep the output of ifconfig for inet, and the likes, to get the assigned IP address of a network interface.

I got annoyed one time too many.

Have a proper solution.

May or may not also work on for example the *BSDs, but should definitely work on any modern typical-userland Linux.

https://michael.kjorling.se/blog/2025/ip-address-of-network-interface-linux/

#Linux#BlogPost #blog#PersonalWebSite #indieweb #networking#IPv4#IPv6