## depends on curl and jq function geoiplookup() { GEOIPURL=https://json.geoiplookup.io/"$1" curl -s $GEOIPURL | jq '.ip, .org, .hostname, .city, .country_name' }