Howto Check you external IP Address from the command line

You know about the possibility to find out your IP Address by using visiting the site whatismyip.com .