2016-05-01T11:09:13 Get WAN IP for Machine Bash Command Line DNS Networking WAN $ dig +short myip.opendns.com @resolver1.opendns.com Source: http://unix.stackexchange.com/questions/22615/how-can-i-get-my-external-ip-address-in-bash/81699#81699 READ MORE