Your IP is: 127.0.0.1
#!/bin/sh # $Id: getip.sh 303 2010-01-16 03:01:54Z gjb $ # Run via cron(8) to obtain the external IP, and send an # email on IP change. fetch http://www.whatismyip.com/automation/n09230945.asp mv n09230945.asp newIP.txt diff -s newIP.txt IP.txt if [ ! $? -eq 0 ] then cp newIP.txt IP.txt cat IP.txt | mail -s "New IP" you@email fi exit 0