(o o) ____________ooO_( )_Ooo_______________________________a_m_o_x___ ____ ___ ____ / ___| ___ ___|_ _| _ \ | | _ / _ \/ _ \| || |_) | | |_| | __/ (_) | || __/ \____|\___|\___/___|_| Find the geolocation of an IP address from command-line Update: After problems with geoiplookup.io, I switched to freeipapi.com. Setup and usagage are nearly the same. "curl" and "jq" are also required. $ curl https://free.freeipapi.com/api/json { "ipVersion":4, "ipAddress":"193.83.186.105", "latitude":46.624722,"longitude":14.30528, "countryName":"Austria", "countryCode":"AT", "timeZone":"+02:00", "zipCode":"9201", "cityName":"Klagenfurt am Woerthersee", "regionName":"Karnten", "isProxy":false, "continent":"Europe", "continentCode":"EU", "currency":{"code":"EUR","name":"Euro"}, "language":"Austro-Bavarian German", "timeZones":["Europe\/Vienna"], "tlds":[".at"] } To write City and Country of an IP in one line and without progress info of "curl": $ curl -s https://free.freeipapi.com/api/json/8.8.8.8 | jq -r '"\(.cityName), \(.countryName)"' Mountain View, United States For more information take a look at: -> https://freeipapi.com/ ___________________________________________________2026_01_15___