Last active
July 12, 2020 01:20
-
-
Save davidas13/be11908fdcc1afe924cd39e262ad8b08 to your computer and use it in GitHub Desktop.
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 | |
| IP_PUBLIC=$(dig ipinfo.io/ip +short) | |
| echo "\n=====:: MY IP PUBLIC ::=====\n" | |
| curl -s ipinfo.io | python -c "exec(\"import sys\nimport json\nfor k, v in json$ | |
| echo "\n============================\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment