To find the IP Address of a linux machine

...from bash:

dig +short myip.opendns.com @resolver1.opendns.com