inxi is a full featured CLI system information tool. It is available in most Linux distribution repositories, and does its best to support the BSDs.
Go to file
inxi-svn a6fd64fdae Improved -i to show IF lan nic IP using as first choice the ip tool from iproute, and to only use the deprecated ifconfig as a fallback.
This required recoding that function, so I also made -i show IPv6 with -x as well. Might as well start getting used to it.

Also fixed and added wrapping for the -i output, that wasn't working right before, now is standardized to other lines.
2011-06-22 23:26:08 +00:00
inxi Improved -i to show IF lan nic IP using as first choice the ip tool from iproute, and to only use the deprecated ifconfig as a fallback. 2011-06-22 23:26:08 +00:00