Get external IP address on Linux CLI

Sometimes it can be really useful to find out from the console your external IP address, this can easily be done using Lynx.

You can install Lynx by typing the following in a terminal:

sudo apt-get install lynx

You can then get you IP address by typing the following in a terminal:

lynx -dump http://bot.whatismyipaddress.com