Linux : What is my IP address location ?

The following command will retrieve your current IP city location,

lynx -dump$1|sed -nr s/'^.*My IP address city: (.+)$/\1/p'

About the Author


R Donato

Rick Donato is the Founder and Chief Editor of He currently works as an SDN/NFV Solutions Architect and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001