Where developers come to connect, share, build and be inspired.

3

List known WLANs

621 views

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/'

Comments

Add a comment