“What’s the WiFi password?” asks the guest. You: “Uhh…” NetworkManager: “I got you.”
| |
Look for the psk field under [wifi-security] section.
Example output:
| |
Alternative (using nmcli):
| |
List all saved connections:
| |
Notes:
- Requires root/sudo access
- Works with NetworkManager (default on Ubuntu/Fedora)
- Connection files are in
/etc/NetworkManager/system-connections/ - Replace
WiFi-Namewith actual connection name fromnmcli connection show