In Ubuntu, you can easily get your connected wifi password via terminal command line application. If you check the connect automatically option in Ubuntu, then it saves your password in your system. If you don’t remember your complex wifi password and want check it quickly then this command line method will help you.
Check Your WiFi Password
1.Open your terminal application (ctrl+alt+t) run below command.
nmcli device wifi show-password
The above command should work on all major Linux distributions. You also get the in the form of QR code. It will help to share the password with other people. That’s it.