Wednesday Jun 17, 2009
How to get the current ip address
On linux to get the address from eth0
/sbin/ifconfig eth0 | grep "inet addr:" | cut -d ':' -f 2 | cut -d ' ' -f 1
Posted at 05:18AM Jun 17, 2009 by Tim Coy in Linux |
Comments: