Find Current IP Address
Tagged with: address, command, egrep, eth, ifconfig, interface, ip, Linux, network
Saturday, December 22nd, 2007 10:30 PM
Find the IP address of all the active interfaces.
ifconfig | egrep -o '^[a-z0-9]{1,12}|inet addr:[0-9.]+'