Find My Public IP
Three CLI commands to find your public IP address.
> echo $(curl -s https://api.ipify.org) 11.22.33.44 # echo is just to add \n to the end > dig +short myip.opendns.com @resolver1.opendns.com 11.22.33.44 > dig TXT +short o-o.myaddr.l.google.com @ns1.google.com "11.22.33.44"