How to use the terminal to find the landing Wi-Fi password on the Mac

Source: Internet
Author: User

How do I find the Wi-Fi password on my Mac?

On the Mac, the terminal is a very useful and powerful tool, to use more, an instruction can help you solve the problem.

The way to open the terminal is not to mention it, this all understand it.

Prepare to work: to access the Wi-Fi password, you have to remember your own administrator username, Mac password, and Wi-Fi network name, which is required.

Open the terminal, run the following instructions, in order to avoid input errors, or copy and paste it:

Security Find-generic-password-ga "Wifiname" | grep "Password:"

Note: "Wifiname" is the real name of the wireless network you are looking for, so remember to change it in order to avoid thinking that the tutorial is wrong.

For example, if your wireless network name is xiazaiba.com, the instruction should be typed like this:

Security Find-generic-password-ga "Xiazaiba.com" | grep "Password:"

Click Enter to execute, this time the system will ask you to input user name and password, you should know what is the username and password it?

The principle of this command is to access your personal keychain, and provide you want to find the password, input the correct information, the terminal shows the corresponding Wi-Fi password out, is not very convenient?

Special Note: This method can only find the MAC has used the saved Wi-fi password, if the connection has been successful, then you can not!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.