Skip to content

Instantly share code, notes, and snippets.

@solicomo
Last active November 5, 2023 20:11
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 solicomo/6b61a61ffb334086ed342520aacd11fd to your computer and use it in GitHub Desktop.
Save solicomo/6b61a61ffb334086ed342520aacd11fd to your computer and use it in GitHub Desktop.
myip
#!/bin/sh
curl -s https://1.1.1.1/cdn-cgi/trace | grep "ip=" | cut -d= -f 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment