How To Find Saved Wi-Fi Passwords In Ubuntu

This happens to me many times: I setup strong Wi-Fi passwords for security reasons, write it down in my local machine or physically on paper so in need I just copy from. Then after few months I use to forget even the location where I save the password. 🙂

Fortunately, there is a way to find forgotten Wi-Fi passwords in Ubuntu. When you connect to a wireless network (or any network) and set the "connect automatically" option, Ubuntu network manager saves the password along with network settings

There are two ways to see the Wi-Fi passwords in Ubuntu : GUI and command line way.

Find saved wifi password in Ubuntu : GUI way

Find saved Wi-Fi password using GUI is the simplest and preferred way for non-techie GUI friendly users. Launch Settings from Gnome applications menu.

On left side menu in Wi-Fi tab, you will find the list of available Wi-Fi networks and the ones you've connected to in the past. Click on the gear icon in front of the saved Wi-Fi network whose password you want to find. Gear icon will only be visible to networks you have once connected. In the Security tab check the Show Password button to reveal the password.

Find saved wifi password in Ubuntu : Command line way

Ubuntu uses Network Manager to handle network related settings. For each connection you have connected in the past, network manager saves the details of the connection as a file in the /etc/NetworkManager/system-connections/ directory.

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

The password for the network connection can be found under the [wifi-security] section, in the line that starts with psk.

That's easy, right?

Download Entire Website Using Wget

At some stage you are in need to download a website to your machine for various reasons. For many out there, their go-to selection is HTTrak. Here, I will show you another very simple way to download website using wget. The command is very simple to understand and very feature reach to offer you many possibilities.

As per official website wget is : "GNU Wget is a free software package for retrieving files using HTTP, HTTPS, FTP and FTPS, the most widely used Internet protocols. It is a non-interactive command-line tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc."

In simple words, wget is a tool that can help us to retrieve contents from internet. On most Linux distributions wget comes preinstalled.

If you ever want to download an entire website form internet, wget can be used to complete the job :

$ wget --recursive --no-clobber --page-requisites --adjust-extension --convert-links --no-parent --restrict-file-names=windows

While using short options for above command :

$ wget -r -nc -p -E -k -np --restrict-file-names=windows

This command will download entire website to the current directory. All pages and child pages, css, js, images, videos everything and will convert links so that they work locally and off-line.

Options used are:

  • --recursive (-r): Download the entire Web site. This will follow and download every links found on the website. If option --domains not specified it will also download files outside of domain.
  • --no-clobber (-nc) : Don't overwrite any existing files. This is useful in two ways, 1) It will not download repeated links. 2) In case the download is interrupted and resumed.
  • --page-requisites (-p) : Get all the elements that compose the page (Images, CSS, JS, fonts, videos and so on).
  • --adjust-extension (-E) : save HTML/CSS documents with proper extensions.
  • --convert-links (-k) : Convert all links so that they work locally, off-line.
  • --no-parent (-np) : Don't follow links from parent URLs.
  • --restrict-file-names=windows : Modify filenames so that they will work in Windows as well.

Few other useful options:

  • --domains (-D) : Don't follow links outside domain. Use comma-separated list in case of multiple domains.
  • --quiet (-q) : Prints no output to terminal (The default option is --verbose).
  • --show-progress : Display progress bar.
  • --timestamping (-N) : Don't re-retrieve files unless newer than local.
  • --server-response (-S) : Print server response.
  • --ignore-case : Ignore case when matching files/directories.
  • --no-directories (-nd) : Don't create directories. Save everything in current directory.
  • --https-only : Only follow secure https links.
  • --relative (-L) : Follow relative links only.
  • --no-check-certificate : Don't validate the server's (SSL) certificate

WordCamp Mumbai 2019

[Late Post] Organising a WordCamp involves great many things. I had my time already with WordCamp Vadodara. I wanted to experience and enjoy WordCamp as an attendee. Mumbai WordCamp was that chance to me. Few memories I have captured from WordCamp Mumbai 2019.

I met with an accident!

Its quite late post, but yes, that was unfortunate. On 30th Oct, I was driving back with my wife and daughter to Vadodara, via Godhra-Vadodara express highway, while crossing round-about on highway near Halol, A truck scratched and bumped into rear right door or my car. Fortunately we were safe and had no injuries. As per truck driver's view; he was driving without co-driver, and he missed judgement on his left side corners, and made this mistake.

Some pics from that accident.

WordCamp Vadodara 2019

On 12th Oct 2019, we have organised WordCamp Vadodara, at Lukshmi Villas Palace Banquet and Conventions, the iconic landmark of the city. It was a single day event and nearly 250+ WordPress community members, students and enthusiast has attended and made the event successful. Being co-organizer, it was unique and life long proud experience.

Continue reading "WordCamp Vadodara 2019"
Copy link
Powered by Social Snap