Created
August 10, 2018 12:33
-
-
Save Yasamato/7287377bcfdbb30e46ca0fc68ec9d411 to your computer and use it in GitHub Desktop.
Retrieves current public ip address and saves it.
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 | |
| wget -q --output-document=/var/www/current.ip ipinfo.io/ip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment