Sometimes I need external IP address of system I am logged on. The general solution is to use browser and search for “what is my address” . And magically google shows the external IP. But if you have no chance to use browser or especially GUI there must be an alternative for this. Here is a practical solution for this. Using text based browser with simple URL gives the correct answer.
Command Line lynx From echo.net
Use browser named lynx to get ip address from echo.net
$ lynx --dump http://ipecho.net/plain
