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

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to