the above scrfipt doesnt seem to work anymore, perhaps because www.whatismyip.com have changed their code, (looking in index.html tells you to use a different url)
so i modified it slightly so now it reads
CODE
wget -q www.whatismyip.com/automation/n09230945.asp && cat n09230945.asp && rm -f n09230945.asp
which does display the ip but it's badly formatted,
QUOTE
[anyweb@localhost ~]$ wget -q www.whatismyip.com/automation/n09230945.asp && cat n09230945.asp && rm -f n09230945.asp
81.235.240.204[anyweb@localhost ~]$
so who can tidy it up ?
cheers
anyweb