Get Saved Wifi Passwords From Linux
If your distribution uses NetworkManager, which I believe most mainstream linux distributions do, you can find your wifi passwords stored in text file inside
1
/etc/NetworkManager/system-connections/
in the corresponding text file as your wifi network name, you will see the wifi password in plain text in psk= line. Those text files can only be read by root user for the sake of security. Remember that your distribution should use NetworkManager.
Or, you can type the following command,
1
sudo grep -H '^psk=' /etc/NetworkManager/system-connections/*