[RndTbl] determine IP address in linux
Kevin McGregor
kevin.a.mcgregor at gmail.com
Sun Mar 24 07:45:38 CDT 2013
Does this work?
ifconfig eth0 | grep inet[^6] | awk -F"[: \t]+" '{print $4}' # Get your IPv4 IP address from ifconfig. This is the Linux version.
More information about the Roundtable
mailing list