Command for determining my public IP on linux PC
Finding external IP using external services The easiest way is to use an external service via a commandline browser or download tool. Since wget is available by default in Ubuntu, we can use that. To find your ip, use- wget -qO- http://ipecho.net/plain ; echo