Get Your IP Geographic Location with curl and jq

curl -s$(curl -s | jq '.data.latitude, .data.longitude, .data.city_name, .data.country_name'

What Others Think

Yes, it is more possible to find out the geographic location by the IP and other relevant information.So police and CID department may apply this high technology for their investigation process.I need dissertation help to write my dissertation as I take my research topic "impact of high technology on geographical location'.
Davidmal · 91 weeks and 5 days ago
Unique article topics, attracting readers by the amount of useful information. I hope my post will be as good as yours. Please refer and evaluate io games skribbl io
navonwolf · 63 weeks and 4 days ago
Command linefu is a website that has a post about IP Geographic Location with curl. You can easily get you with the help of their operators. You can check lead generation marketing montreal to learn update to manage their net worth. They have all the steps for the impact of high technology on geographical location. Join them for getting the commands on time.
GordonS · 61 weeks and 2 days ago
This has been a very useful exchange indeed, there will be those who are looking for it to get the most location. basketball legends
alicecbaldwin · 26 weeks and 1 day ago
Is this really possible? couples counseling
geebranz · 23 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: