Created
August 29, 2018 19:36
-
-
Save GreggSetzer/d5f1988ca702799b0a791b5909e12576 to your computer and use it in GitHub Desktop.
Retrieve your local IP address at Mac Command LIne
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
alias ip='ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\ -f2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment