

Essentially other derivatives that the above command may not work for, use the command below: $ sudo cat /etc/NetworkManager/system-connections/.nmconnectionįinding your connected WiFi passwords in Windows can be done via your network settings under the control panel. In this case, we’re interested in the specific /etc/NetworkManager/system-connections root directory where you will find a designated file for all the networks you’ve connected to in the past.įor other Linux systems, you’ll mostly find the details in this directory: /etc/NetworkManager. $ sudo grep -r '^psk=' /etc/NetworkManager/system-connections/ĭepending on your operating system, you may require a slight modification. # nmcli -s -g 802-11-wireless-security.psk connection show Īlternatively, use the command below to display all the passwords for the WiFi networks on your system. Then, find the specific password for the wireless network of choice. Or find the list of available SSIDs first using the command below. In order to keep it simple, we will stick with this easy method that should work across any POSIX compliant operating system irrespective of the base system.įor the majority of Linux systems including Ubuntu, use the command below – the command requires you to be actively connected to a wireless network to get the output you expect as well as being run as the root user: # nmcli device wifi show-password
#WIFI PASSWORD SHOW FOR WINDOWS SOFTWARE#
The greatest advantage of Linux systems is the interoperability of software across multiple distributions and this case is no different as you can mostly get away with the configuration below to figure out the password of your currently connected WiFi.
#WIFI PASSWORD SHOW FOR WINDOWS HOW TO#
Now when it comes to what these systems have in common, they all use a standard password preconfigured from the router for easier connectivity and this article will be showing you how to find the password post-configuration in your designated system control panel. Thankfully, it also has the real advantage of being encrypted by the AES (Advanced Encryption Standard) standard and with a designated enterprise variant, WPA2 Enterprise.

These are usually a variation of the WPA protocol that includes Wi-Fi Protected Access (WPA), Wi-Fi Protected Access II (WPA2), and Wi-Fi Protected Access 3 (WPA3) with the second one being the most ubiquitous. Connecting securely to the internet requires you to have a preconfigured access point through which you can securely connect to the world wide web.
