Where does MacOS store remembered Wi-Fi Names?

My mac knows about 50-100 different Wi-Fi network names. I'd like to know where they are remembered, I can't find it. I've searched.

I understand that there is a GUI for editing this information, but it is horrible. I want to know the file where the data are stored. The Apple user interface is horrible because you can't search or sort. I have more than 100 names.


Solution 1:

Ah. I finally found it. The file is /Library//Preferences/SystemConfiguration/com.apple.airport.preferences.plist and it's under the KnownNetworks key.