Add "Show Current SSID"

Pretty useful when combined with "Show Wi-Fi Network Passwords" :)
This commit is contained in:
Riley Shaw 2015-10-20 18:18:49 -07:00 committed by Riley Shaw
parent 27549b71d4
commit b58c3e1431

View File

@ -706,6 +706,11 @@ Run a wireless scan:
airport -s airport -s
``` ```
#### Show Current SSID
```bash
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk '/ SSID/ {print substr($0, index($0, $2))}'
```
#### Show Local IP Address #### Show Local IP Address
```bash ```bash
ipconfig getifaddr en0 ipconfig getifaddr en0