Find your Public IP in the terminal
Contents
There are couple of web sites that gives your public IP in simple form. You can call them via curl or wget. I wrote it down you can pick one of them.
curl icanhazip.com
curl ipinfo.io/ip
wget -qO- http://ipecho.net/plain ; echo
curl ident.me ;echo