====== External IP Address ====== http://www.commandlinefu.com/commands/view/5427/get-your-external-ip-address ===== Any Web Browser ===== https://ifconfig.me/ ===== Windows Powershell ===== (Invoke-WebRequest -Uri "http://ifconfig.me/ip").Content ===== Linux CLI ===== ==== dig ==== dig +short myip.opendns.com @resolver1.opendns.com or dig TXT +short o-o.myaddr.l.google.com @ns1.google.com ==== host ==== host myip.opendns.com resolver1.opendns.com ==== curl ==== curl ifconfig.me or curl ipinfo.io/ip ==== Text Browser ==== lynx --dump http://www.whatismyip.com/ | grep -o '[0-9].*\.[0-9].*\.[0-9].*\.[0-9].*' -m1 or elinks --dump http://www.whatismyip.com/ | grep -o '[0-9].*\.[0-9].*\.[0-9].*\.[0-9].*' -m1