What is my public IP-address?

$ curl ifconfig.me

Short command, easy to remember.. !

You need to install 'curl' package.

Get your external IP address

$ curl ifconfig.me/ip -> IP Adress

$ curl ifconfig.me/host -> Remote Host

$ curl ifconfig.me/ua ->User Agent

$ curl ifconfig.me/port -> Port

More info visit http://ifconfig.me/

:-)


--
Regards,
Tha.Suresh
http://thasulinux.wordpress.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to