Skip to content

Instantly share code, notes, and snippets.

@afiqiqmal
Created June 1, 2021 06:09
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 afiqiqmal/aa3ade894c8cad0f5ccfed09bd17a3c5 to your computer and use it in GitHub Desktop.
Save afiqiqmal/aa3ade894c8cad0f5ccfed09bd17a3c5 to your computer and use it in GitHub Desktop.
Get Your Current IP from Terminal
#!/bin/sh
curl https://ipinfo.io/$(curl -s icanhazip.com)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment