Linux : What is my IP address location ?

The following command will retrieve your current IP city location,

lynx -dump http://www.ip-adress.com/ip_tracer/?QRY=$1|sed -nr s/’^.*My IP address city: (.+)$/\1/p’

Rick Donato

Want to become a Linux expert?

Here is our hand-picked selection of the best courses you can find online:
Linux Mastery course
Linux Administration Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial