Revision: 33839
Updated Code
at October 14, 2010 03:57 by laforge
Updated Code
ip addr list | grep -E "global eth0$"|awk -F" " '{print $2}'|sed 's/\/.*$//g'
Revision: 33838
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 14, 2010 03:55 by laforge
Initial Code
ip addr list | grep -E "global ${LINEBACKUP}$"|awk -F" " '{print $2}'|sed 's/\/.*$//g'
Initial URL
Initial Description
Initial Title
Getting the ip address of an interface on linux
Initial Tags
Bash
Initial Language
Bash