Skip to content

Instantly share code, notes, and snippets.

@ianaya89
Created August 10, 2021 16:55
Show Gist options
  • Save ianaya89/25c26bbeb4fc72ad97a4e0f5665d2461 to your computer and use it in GitHub Desktop.
Save ianaya89/25c26bbeb4fc72ad97a4e0f5665d2461 to your computer and use it in GitHub Desktop.
My IP
# IP Privada
$ ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}'
# IP Publica
$ curl ifconfig.me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment