#!/bin/bash # /usr/local/bin/myip # http://crystalfaeries.net/posix/bin/myip # celeste:crystalfaery 2016-07-11 20:24:57+00:00 # http://www.commandlinefu.com/ wget -q -O - ifconfig.co # wget http://ipecho.net/plain -O - -q # echo # http://www.commandlinefu.com/commands/view/17497/get-your-outgoing-ip-address # curl -s http://whatismyip.org/ | grep -oP '(\d{1,3}\.){3}\d+'