geoip
geoip lookup with curl on geody.com
2010/04/11
$ geoip(){curl -s "http://www.geody.com/geoip.php?ip=${1}" | sed '/^IP:/!d;s/<[^>][^>]*>//g' ;} […] <a href="http://www.commandlinefu.com"><img …
Get your external IP address
2009/11/04
$ echo -e "GET /automation/n09230945.asp HTTP/1.0rnHost: whatismyip.comrn" | nc whatismyip.com 80 | tail -n1 […] <a href="http://www.commandlinefu.com"><img …