Created
October 18, 2018 05:11
-
-
Save zthxxx/5d84f7f7cd5e3a43460830320c3b5fff to your computer and use it in GitHub Desktop.
get WiFi SSID name on MacOS terminal
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
ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport | |
airport -I | awk -F': ' '/ SSID/ {print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment