Created
August 10, 2021 16:55
-
-
Save ianaya89/25c26bbeb4fc72ad97a4e0f5665d2461 to your computer and use it in GitHub Desktop.
My IP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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