Created
October 19, 2023 16:12
-
-
Save HacDan/55655184b76d63512217141d23e62247 to your computer and use it in GitHub Desktop.
geoip.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl -sS http://ip-api.com/json/$1 | jq -r '"City: " + .city + " State: " + .region + " Country: " + .country' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment