Created
October 18, 2016 08:00
-
-
Save aliang228/bd22d836dc874ab48703c65136971f7e to your computer and use it in GitHub Desktop.
echo 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
ifconfig en0 | awk '$1 == "inet" {print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment