Skip to content

Instantly share code, notes, and snippets.

@ZweiSteinSoft
Created May 6, 2013 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZweiSteinSoft/5525314 to your computer and use it in GitHub Desktop.
Save ZweiSteinSoft/5525314 to your computer and use it in GitHub Desktop.
OSX Terminal command for getting past Wi-Fi networks
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/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment