How to View Saved Wi-Fi Passwords on Linux (Ubuntu)? (2024)

In our daily lives, we deal with passwords more often than we ever did just a decade ago. Most online services you use require a different ID and password. Before all of that though you probably had to create a password for your Wi-Fi. A Wi-Fi password is easy to forget because you don’t really use it as often once you’ve signed in. If you do forget it, it can be a nightmare because there isn’t exactly a “forgot password” button anywhere.

Your Linux system saves your Wi-Fi passwords and you can easily view saved Wi-Fi passwords on Linux.

Editor’s Note: If you’re not as familiar with Linux, there are usually at least two ways to do anything on a Linux machine. Consequently, there are two ways to go about this as well. One of them is the command line method. We feel the command line is generally easy as long as you’re comfortable with it. All you’ll be doing is copying and pasting a few commands from here into a Terminal window, after all. Many aren’t comfortable with the command line though and fortunately for those of you, there is another way to get the same results with a few clicks here and there using the GUI (Graphical User Interface).

Related: How to Find Wi-Fi Passwords on Mac and Windows

View Saved WiFi Password on Linux (Ubuntu) – Command Line

Ubuntu generally saves your WiFi network information under a “Network Manager” folder on your system. Inside this directory is a configuration file which can be accessed and thus, we can retrieve the Wi-Fi password.

  1. First of all, launch a Terminal window from your app launcher.
  2. Use the following command then to navigate to the folder where your Wi-Fi information is stored.
    cd /etc/NetworkManager/system-connections
  3. With the ls command, we can get a list of all the saved Wi-Fi networks on your Ubuntu Linux system. You can skip this step if you know the network SSID already and if you’re sure you’ve allowed Linux to save the password when you logged in the first time.
    ls
  4. Now that you can the network SSIDs of all the saved network, use the command given below to retrieve the password for the Wi-Fi network you want. You’ll be required to enter your password after you enter the command since this is a root command.
    sudo cat WIFI_SSID_NAME

    For instance, my Wi-Fi SSID is MI so the command I’ll need to use would be as follows.

    sudo cat MI
  5. The Terminal will now show you the saved WiFi information and under the [wifi security] section, you can find your password prefixed by psk=

How to View Saved Wi-Fi Passwords on Linux (Ubuntu)? (1)

What if You’re Using wicd?

It stands for Wireless Interface Connection Daemon and is an “open source software utility to manage both wireless and wired networks for Linux.”, as stated in the Ubuntu documentation. It “aims to provide a simple interface to connect to networks with a wide variety of settings.” In the odd chance that you’re using wcid to connect to your Wi-Fi network, you can find the configuration file in the /etc/wicd folder. If you didn’t already know what this is, you probably don’t have to worry about it. In which case, you can forget we even mentioned wcid and the method above is perfectly valid for you.

  1. Navigate to the folder using this command:
    cd /etc/wicd
  2. And then open the configuration file using the following command.
    sudo cat wireless-settings.conf

    You’ll find your password inside the file.

Related: How to See Saved WiFi Password on Android Device?

View Saved WiFi Password on Linux (Ubuntu) – GUI

The latest versions of Ubuntu use the GNOME desktop and they will continue to do so in the future. Therefore, we’re going to be using the GNOME desktop.

  1. Launch the GNOME Settings app from the app launcher or the System menu.How to View Saved Wi-Fi Passwords on Linux (Ubuntu)? (2)
  2. In the Settings app, select Wi-Fi from the left column and you’ll be able to see all the available Wi-Fi networks on the right.How to View Saved Wi-Fi Passwords on Linux (Ubuntu)? (3)
  3. Click on the gear icon next to the network that you want to see the password for. This icon can look slightly different depending on your current icon theme.How to View Saved Wi-Fi Passwords on Linux (Ubuntu)? (4)
  4. This will launch a new window containing information about the network. Under the Security tab, check the box next to Show password and you’ll be able to see your password in the Password field.

Get WiFi Password on Linux

Before we conclude, we would like to point a few more things that are going to be useful for newbies in Linux.

  • Ubuntu is the more widely used Linux distro, therefore, we’re going to focus mostly on Ubuntu. However, you can still use the same commands on other Ubuntu based distros such as Linux Mint, Elementary OS, etc. The GUI method can be a little different since most of these Ubuntu derivatives use a different desktop environment. This will also be different even if you’re using Ubuntu but with a different desktop environment instead of Ubuntu.
  • What we’re discussing here is not a hack or a crack of some sort against the built-in security measures in Linux, mainly Ubuntu. We’ll only be helping you find out your own Wi-Fi password from your own Linux system. You may have to do this when you’ve forgotten your Wi-Fi password and you want to connect a new device such as a phone, game console, etc. to the network. We do not encourage any malicious intents.
  • Linux only saves your Wi-Fi network information if you had initially chosen to “connect automatically” while logging in to your Wi-Fi network the first time. This means if you did not choose to connect automatically during your initial login, Linux did not save your Wi-Fi password and so there is nothing to retrieve.

Now that you have your password, you can note it down for future use or just let your Linux PC keep it for you.

How to View Saved Wi-Fi Passwords on Linux (Ubuntu)? (2024)

References

Top Articles
Pro-ject Essential III Turntable Review | Project Essential 3
Pro-Ject Essential III Recordmaster
Where are the Best Boxing Gyms in the UK? - JD Sports
Terraria Enchanting
Gabrielle Abbate Obituary
What Happened To Father Anthony Mary Ewtn
Geometry Escape Challenge A Answer Key
Our Facility
Keurig Refillable Pods Walmart
Craigslist Farm And Garden Cincinnati Ohio
Google Feud Unblocked 6969
Mail.zsthost Change Password
Beebe Portal Athena
Roof Top Snipers Unblocked
Csi Tv Series Wiki
Sadie Proposal Ideas
What Is Vioc On Credit Card Statement
Rufus Benton "Bent" Moulds Jr. Obituary 2024 - Webb & Stephens Funeral Homes
[PDF] NAVY RESERVE PERSONNEL MANUAL - Free Download PDF
Panola County Busted Newspaper
Chamberlain College of Nursing | Tuition & Acceptance Rates 2024
Craig Woolard Net Worth
Bay Area Craigslist Cars For Sale By Owner
Albert Einstein Sdn 2023
Craigslist Fort Smith Ar Personals
Bfsfcu Truecar
Cvs Sport Physicals
Till The End Of The Moon Ep 13 Eng Sub
Calvin Coolidge: Life in Brief | Miller Center
Ff14 Sage Stat Priority
Bursar.okstate.edu
Golden Tickets
John F Slater Funeral Home Brentwood
Boggle BrainBusters: Find 7 States | BOOMER Magazine
The best Verizon phones for 2024
Tokyo Spa Memphis Reviews
Heelyqutii
Elisabeth Shue breaks silence about her top-secret 'Cobra Kai' appearance
Vision Source: Premier Network of Independent Optometrists
Daly City Building Division
Armageddon Time Showtimes Near Cmx Daytona 12
Umd Men's Basketball Duluth
Todd Gutner Salary
Thotsbook Com
Garland County Mugshots Today
Watch Chainsaw Man English Sub/Dub online Free on HiAnime.to
Catchvideo Chrome Extension
Barback Salary in 2024: Comprehensive Guide | OysterLink
Parks And Rec Fantasy Football Names
Lake County Fl Trash Pickup Schedule
Coors Field Seats In The Shade
Latest Posts
Article information

Author: Greg Kuvalis

Last Updated:

Views: 5534

Rating: 4.4 / 5 (75 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.