ghl-cg
Last Updated: February 25, 2016
·
1.168K
· oschrenk
15e815080bfae3b60649967170080ed7

List known WLANs

To list all wireless networks your system has used in the past:

defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.preferences RememberedNetworks | egrep -o '(SSID_STR|_timeStamp).+' | sed 's/^.*= \(.*\);$/\1/' | sed 's/^"\(.*\)"$/\1/' | sed 's/\([0-9]\{4\}-..-..\).*/\1/'