View saved WiFi Passwords in Ubuntu and Windows

First we will see how to see the saved wifi password in Ubuntu

  • Ubuntu stores the password in the “Network Manager” directory. When you give the save password option on WiFi, Ubuntu store the wifi password inside the Network manager directory under the file name of “System-connections”.
  • Now follow the instructions as given below

Step 1: open Terminal and type the following command and press “Enter

cd /etc/NetworkManager/system-connections/
  • The output will be like this
cd /etc/NetworkManager/system-connections/ — output
  • Now you need to view the available WiFi connection or stored WiFi connection with your Ubuntu PC. To view that type the following commad and press “Enter”
ls -a
  • It will show the list of stored wifi connections available
ls -a output
  • To view the stored wifi password type in the following command
sudo cat name_of_the_wifi 
  • psk” is the password of the wifi
  • Replace the “name_of_the_wifi” with the wifi name you want

Now we will see how to view the saved wifi password in Windows

  • Press the “windows key
Windows key
  • Now search for “cmd
cmd
  • After typing in “cmd”, Press alt+shift+enter in your keyboard
alt + shift + enter
  • A dialogue box will appear like the image below
  • Press “yes”, and cmd will appear
cmd
  • Now type the following command
netsh wlan show profiles
  • It will give a list of wifi names.
wifi names
  • To view the password of the wifi type the following command
netsh wlan show profile name = "wifi_name" key = clear
  • The “key content” is the password of the wifi
  • Replace the “wifi_name” with the name of the wifi you want, also note that the wifi name should be given in quotations

About:

Iam Ashwin.B a student of class 12, with great interest in computer science and python.

Contact me:

email: ahnashwin1305@gmail.com

--

--

--

webdeveloper and programmer

Love podcasts or audiobooks? Learn on the go with our new app.

Getting Started With SQLite3 And Python 3

ENV variables in Ruby on Rails application

Digital garden for everyone!

Algorithms

Travis CI Pipelines: 2 Approaches to Source Control Feature Branching

AsyncTask in Android

Writing crypto trading bot in Python with Telegram and ccxt

3-step tutorial to create BitUniverse Grid Trading Bot on Bitfinex exchange

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ashwin.B

Ashwin.B

webdeveloper and programmer

More from Medium

Linux Fundamentals. Part 2

How To Install Postgresql In Linux?

Fixing “add-apt-repository command not found” error on Ubuntu and Debian

LINUX LOOPS