Created
October 17, 2016 14:21
-
-
Save mayoralito/aebaf3aae9ea606ccc3cb3bf35b73b4d to your computer and use it in GitHub Desktop.
Getting SSID via 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
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk '/ SSID/ {print substr($0, index($0, $2))}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment