Skip to content

Instantly share code, notes, and snippets.

@afiqiqmal
Created June 1, 2021 06:09
Show Gist options
  • 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