Skip to content

Instantly share code, notes, and snippets.

@leogallego
Created November 13, 2018 20:30
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 leogallego/14906b78ceddb53f1e96fdf06b54810e to your computer and use it in GitHub Desktop.
Save leogallego/14906b78ceddb53f1e96fdf06b54810e to your computer and use it in GitHub Desktop.
#!/bin/bash
ip=$(curl -s https://api.ipify.org)
echo "My public IP address is: $ip"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment