Skip to content

Instantly share code, notes, and snippets.

@zthxxx
Created October 18, 2018 05:11
Show Gist options
  • Save zthxxx/5d84f7f7cd5e3a43460830320c3b5fff to your computer and use it in GitHub Desktop.
Save zthxxx/5d84f7f7cd5e3a43460830320c3b5fff to your computer and use it in GitHub Desktop.
get WiFi SSID name on MacOS terminal
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