~/bin$ cat getip ifconfig | grep 'inet addr' | grep -v 127.0.0.1 | cut -d':' -f 2 | sed 's/[^0-9.]//g'