Get external IP

curl ifconfig.me
dig +short myip.opendns.com @resolver1.opendns.com
curl -s http://checkip.dyndns.org/ | grep -o "[[:digit:].]\+"
curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z<>/ :]//g'
curl curlmyip.net