Possible Duplicate:
Finding the Public IP address in a shell script
For use in scripting, it would be handy to be able to do this:
IP=`....something ....`
echo ...$IP... >> configfile
I'm looking for the IP address as seen by the web, in this instance. Ubuntu, if it makes a difference. Happy to install a package or two.