Problem

How do we find saved WiFi password in Linux?

Solution

Terminal

cd /etc/NetworkManager/system-connections

wireless network connection

Now with the help of cat command followed by the network name, you can see the saved details. Under the section, WiFi-Security, you can find the password which will be prefixed by “psk=”. Also, don’t forget to replace Fossbytes by your own network name:

wireless network connection

Graphic Menu

  1. First you need to click on the WiFi icon in the top right corner to reveal a drop-down menu. At the bottom of the menu, Edit Connections option.

wireless network connection

  1. After clicking the network connections, you’ll see different options under Ethernet and Wi-Fi. You’ll see the saved network connections under the Wi-Fi option. Depending upon your requirement, you can click on a WiFi network to select it and press the Edit button for further operations.

wireless network connection

  1. After you click the Edit option, a new window will appear with different tabs. There, you need to select the Wi-Fi Security tab. This will reveal the security and password associated with it. It’ll be hidden.

wireless network connection

  1. Now tick the Show Password option to show the saved password of the network. If you’re not acquainted with the other options, don’t fiddle with them as they might end up messing with your wireless configuration.

wireless network connection

References

[1] How To Find Saved WiFi Passwords In Linux?