Created
November 23, 2015 13:11
-
-
Save maxkarelov/f78d84efca33ec70e43e to your computer and use it in GitHub Desktop.
get private ip address snippet
This file contains hidden or 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 eth1|grep 'inet addr:'|cut -d: -f2|cut -d' ' -f1|awk '{ print $1 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment