Created
May 12, 2021 08:10
-
-
Save leomikezee/4a6299363cad3af52c521289102cab0a to your computer and use it in GitHub Desktop.
get ip address
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
ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment