bindiego
9/16/2014 - 7:22 AM

Display ip address

Display ip address

ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'