Finding the Public IP address in a shell script

Posted by shantanuo on Server Fault See other posts from Server Fault or by shantanuo
Published on 2009-10-06T05:16:23Z Indexed on 2010/04/05 22:23 UTC
Read the original article Hit count: 309

Filed under:
|

I can find my IP address using ifconfig or hostname -i command.

But how do I find my Public IP?

(I have a static public IP but I want to find it out using unix command)

© Server Fault or respective owner

Related posts about unix

Related posts about shell