Last active
March 19, 2018 14:27
-
-
Save geekbass/f16eacd6650c7fa14048db205d199245 to your computer and use it in GitHub Desktop.
Get the public facing IP of a node
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 | |
set -o nounset -o errexit | |
curl -fsSL https://ipinfo.io/ip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment