Public IP from a command line
Written by Adrien le Maire le 16 march 2011
There's a little tirck to get your ip by another way than "grep / sed" from a web page.
ifconfig.me allows you to get your ip with one simple command :
curl ifconfig.meor
curl ifconfig.me/ipfor the reverse dns of your ip :
curl ifconfig.me/hostmore informations on the official website : http://ifconfig.me
Classified in : Linux - Tags : IP, curl - no comments