geoip Returns geolocation of a website domain via command line in JSON format. Prerequisites: Install curl Install jq Installation Add the file geoip to your bin or /usr/local/bin folder Run the command geoip <domain> Thanks to florix for the freegeoip API!