Created
September 6, 2016 10:31
-
-
Save pwittchen/6566f987a61c1a7483d922701ac4fec0 to your computer and use it in GitHub Desktop.
get ip used in local network (works on OS X)
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 | awk 'END{print}' | awk '{print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment