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"
Discussion 0
No comments yet. Be the first to start the discussion!
Leave a Comment