Skip to content

Instantly share code, notes, and snippets.

@smellslikeml
Created October 21, 2018 16:33
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 smellslikeml/ffbd3c63f290caf0800e3f125a427404 to your computer and use it in GitHub Desktop.
Save smellslikeml/ffbd3c63f290caf0800e3f125a427404 to your computer and use it in GitHub Desktop.
bash_get_ip
curl -s checkip.dyndns.org | sed 's#.*Address: \(.*\)</b.*#\1#'
wget -qO - ipv4bot.whatismyipaddress.com
curl 'https://api.ipify.org?format=txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment