Need to quickly get your external IP address from the command line for SSH or otherwise? No sweat, you can use either the curl command or dig to extract the information quickly from a variety of sources.
via Pocket http://osxdaily.com/2013/07/16/quick-external-ip-address-command-line/
Advertisements