Created
September 15, 2014 18:00
-
-
Save edymerchk/05cf4ee0514846ae3782 to your computer and use it in GitHub Desktop.
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 wlan 2>/dev/null || ifconfig en0) | grep inet | grep -v inet6 | awk '{print $2}' | sed 's/addr://g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment