Created
January 20, 2017 11:47
-
-
Save shoaibi/b22d5b1deab09c226beead7bc948062d to your computer and use it in GitHub Desktop.
This file contains 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/bash | |
# Without $1, it'd use your Public IP | |
curl -s http://ip-api.com/json/$1 | python -m json.tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment