Query IP address details using the IP2Location API. Be sure to sign up here before next steps, no CC is needed.
curljq- Set your IP2Location API key:
export IP2LOCATION=your_api_key
chmod +x iplookup.sh
mkdir -p ~/.local/bin
cp iplookup.sh ~/.local/bin/iplookupMake sure ~/.local/bin is in your PATH.
iplookup 8.8.8.8
echo 8.8.8.8 | iplookup -m filter-m rawβ Raw JSON-m jq(default) β Pretty JSON via jq-m filterβ Colorized summary
Bitcurrents, rkooyenga.github.io, ip2location CLI tool uses IP2Location.io IP geolocation web service.

