Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Generate list of wi-fi networks a Mac has used' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Generate list of wi-fi networks a Mac has used
Authored by: Shane Palmer on Dec 27, '12 11:45:10AM
It might be easier and much cleaner looking to use Apple's built-in networksetup tool:

networksetup -listpreferredwirelessnetworks en1

If you have a Mac that does not have wired ethernet, like a MacBook Air, then you might need to use en0 instead of en1. Using Apple's built-in tool should also remove the need to worry about OS differences as mentioned in the comments of the original linked article.

[ Reply to This | # ]