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
[PDF] ISSUE PROGRAMME Bid/Issue Opens on [ ] Bid/Issue Closes on [ ] - Free Download PDF
[PDF] a a a a a a a a a a a a a a a a a a a a - Free Download PDF
Global Foods Trading GmbH, Biebesheim a. Rhein
Katie Pavlich Bikini Photos
Dricxzyoki
Wordscapes Level 6030
Yogabella Babysitter
80 For Brady Showtimes Near Marcus Point Cinema
Ds Cuts Saugus
10 Popular Hair Growth Products Made With Dermatologist-Approved Ingredients to Shop at Amazon
Hertz Car Rental Partnership | Uber
Craigslist Pet Phoenix
Nordstrom Rack Glendale Photos
Purple Crip Strain Leafly
Craigslist Deming
Kaomoji Border
Dit is hoe de 130 nieuwe dubbele -deckers -treinen voor het land eruit zien
Craigslist Farm And Garden Tallahassee Florida
Obsidian Guard's Cutlass
Lcwc 911 Live Incident List Live Status
TBM 910 | Turboprop Aircraft - DAHER TBM 960, TBM 910
Keci News
1973 Coupe Comparo: HQ GTS 350 + XA Falcon GT + VH Charger E55 + Leyland Force 7V
Ecampus Scps Login
Toothio Login
Airline Reception Meaning
4Oxfun
2011 Hyundai Sonata 2 4 Serpentine Belt Diagram
Keyn Car Shows
Cal State Fullerton Titan Online
Delete Verizon Cloud
5 Star Rated Nail Salons Near Me
Opsahl Kostel Funeral Home & Crematory Yankton
Unm Hsc Zoom
RFK Jr., in Glendale, says he's under investigation for 'collecting a whale specimen'
Weekly Math Review Q4 3
Where Do They Sell Menudo Near Me
Tas Restaurant Fall River Ma
Pitco Foods San Leandro
No Hard Feelings Showtimes Near Tilton Square Theatre
Directions To 401 East Chestnut Street Louisville Kentucky
The Best Restaurants in Dublin - The MICHELIN Guide
Telugu Moviez Wap Org
Postgraduate | Student Recruitment
Electric Toothbrush Feature Crossword
Gym Assistant Manager Salary
Executive Lounge - Alle Informationen zu der Lounge | reisetopia Basics
Login
Wgu Admissions Login
Arch Aplin Iii Felony
Congressional hopeful Aisha Mills sees district as an economical model
8663831604
Latest Posts
Article information

Author: Trent Wehner

Last Updated:

Views: 5536

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Trent Wehner

Birthday: 1993-03-14

Address: 872 Kevin Squares, New Codyville, AK 01785-0416

Phone: +18698800304764

Job: Senior Farming Developer

Hobby: Paintball, Calligraphy, Hunting, Flying disc, Lapidary, Rafting, Inline skating

Introduction: My name is Trent Wehner, I am a talented, brainy, zealous, light, funny, gleaming, attractive person who loves writing and wants to share my knowledge and understanding with you.