Created
September 6, 2018 10:48
-
-
Save mauricioprado00/765cb0aa7035824f644e9d88540bf667 to your computer and use it in GitHub Desktop.
resolve interface 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
ifconfig eth0 | grep -v inet6 | grep inet | awk '{ print $2 }' | sed 's#addr:##g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment