Is there a clean, simple way to get an IP address for a network interface from /proc, similar to the way I can get the MAC address for a network interface?Ideally I would just type cat /proc//{interface_name} and get the IPV4 address.I'd rather not run anything other than cat.
How to get the IPV4 address for an interface from /proc
linux;ip;proc