Skip to content

How to Know the WIFI's Password of your Network | Linux Ubuntu

How to Find Your WiFi Password on Ubuntu Using Terminal

If you’re using Linux Ubuntu and want to view the saved WiFi password using the terminal,

Ubuntu makes it simple through NetworkManager. This guide shows you the fastest and safest way to do it.

Step 1: Open Terminal

Step 2: List Saved WiFi Networks

Run the following command to see all saved WiFi connections:

nmcli connection show

Step 3: Show the WiFi Password

Replace WIFI_NAME with your actual network name:

sudo nmcli connection show "WIFI_NAME" | grep psk

After entering your sudo password, you’ll see:

psk: your_wifi_password

✅ This is your WiFi password.

____________________________________________________________

Final Tip

If you prefer a clean output:

sudo nmcli -s -g 802-11-wireless-security.psk connection show "WIFI_NAME"
{# Provenance for articles generated from a source document. Rendered here rather than stored in the body so it stays accurate and cannot be edited away, and so the sealed draft stays purely generated. #}

Discussion

0

No comments yet. Be the first to start the discussion!

Leave a Comment

Comments are reviewed before they appear.

Write a comment