Determine public IP

If one is behind a NAT device determine your public IP:

wget -qO - whatismyip.org

alternative

wget http://ipecho.net/plain -O - -q ; echo