Last active
December 3, 2016 14:10
-
-
Save arsham/e69bf33e089c8132be13 to your computer and use it in GitHub Desktop.
Shows only IP address
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
| /sbin/ifconfig NET_NAME | grep 'inet ' | tr -s " " | cut -d " " -f3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment