Host discovery with curl

Yesterday i discovered a cool webpage called ifconfig.me
It displays information about your external IP and other HOST information.

The cool thing is that it is designed for use with curl from the command line.

Your external IP
curl ifconfig.me

Your hostname
curl ifconfig.me/host

Your user agent
curl ifconfig.me/ua

External connection port
curl ifconfig.me/port

Display all your information
curl ifconfig.me/all

Extremely useful for command line geeks like myself :)