/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I | awk '/avg/ || / SSID/ {printf $0 }' | awk '{ print "WLAN : " $6 ", S/N " $2 "/" $4 }'