Created
August 31, 2017 13:40
-
-
Save membrive/23860d8df9932beb38b843d8500df647 to your computer and use it in GitHub Desktop.
Check Ipify to know your public IP
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 | |
ip=$(curl -s https://api.ipify.org) | |
echo "Current public IP address: $ip" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment