VOOZH about

URL: https://itsfoss.com/find-wifi-password-linux-mint-16/

⇱ How to Find Saved WiFi Password in Linux Mint Using GUI or Terminal


👁 Ghostboard pixel

How to Find Saved WiFi Password in Linux Mint Using GUI or Terminal

Abhishek Prakash
2 min read

When you connect to a wireless network using WEP, WPA or WPA2-PSK, the password is saved in Linux Mint (or any other operating system) when you use “connect automatically”.

Imagine a situation where you need to know the WiFi password and you have not noted it down somewhere. Suppose you need to provide the WiFi password to a visitor.

You can easily retrieve the password of an earlier connected wireless network in Linux Mint if you have admin access.

In this beginner’s tutorial, I’ll show you how to find the saved WiFi passwords in Linux Mint.

Method 1: Find saved WiFi password in Linux Mint via GUI

The procedure to find the saved WiFi password is very simple. Click on the Menu button and type Network in the search bar. Choose Network Connections in there:

In Network Connections, you’ll see all the WiFi networks you have been connected in the past.

Select the one for which you want to know the password and click on the gear icon.

In here, under the Wi-Fi Security tab, check the Show password button to reveal the password.

You see how easy was it? You are not restricted to use the GUI. If you are a terminal lover, let me show you how to get saved WiFi passwords in Linux terminal.

Method 2: Find saved WiFi passwords in Linux Mint via Terminal

Linux Mint uses Network Manager for handling network related settings. These settings can be found in /etc/NetworkManager location.

If you look in to the /etc/NetworkManager/system-connections directory, you’ll find a file stored for each network you had connected to in the past.

You can view the content of the desired network connection’s file and you’ll find the password under wifi-security section and in the line starting with psk.

sudo cat /etc/NetworkManager/system-connections/<WiFi_Network_Name>

Make sure that there is a “\ ” before every space in the network’s name (if any).

👁 Get saved wifi password in Linux terminal

And that’s all you had to do to get the saved password. You can do similar steps to get the stored WiFi passwords in Ubuntu. I hope the article helped you. Ciao :)

About the author

Abhishek Prakash

Created It's FOSS 13 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Read next

How to Install Unity Desktop on Arch Linux

Battle of the Texts and the Unicode Savior

Monica: An Open-Source App for Personal Relationship Management

5 NeoVim GUI Editors You Could Try If You are Not a Total Terminal Junkie

Rnote: An Open-Source Drawing App for Notes and Annotation

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

👁 itsfoss happy penguin