Ever found yourself in a situation where you desperately need a Wi-Fi password that you’ve used before on your Mac, but can’t seem to remember? Worry no more! In this blog post, we’ll show you an easy trick to retrieve any wi-fi password stored on your Mac using the Terminal.
Your Mac discreetly stores all Wi-Fi passwords you’ve ever used, and with a quick command in the Terminal, you can access those passwords in a matter of seconds. Here’s how to do it:
- Open Terminal on your Mac (you can find it in the Utilities folder or by using Spotlight Search).
- In the Terminal, type the following command:
security find-generic-password -wa "network-name-in-quotes"