Skip to content

Instantly share code, notes, and snippets.

@geekbass
Last active March 19, 2018 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geekbass/f16eacd6650c7fa14048db205d199245 to your computer and use it in GitHub Desktop.
Save geekbass/f16eacd6650c7fa14048db205d199245 to your computer and use it in GitHub Desktop.
Get the public facing IP of a node
#!/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