Find the wireless password on Ubuntu

How many times happen to have a guest that asks you about the wireless password and you cannot remember it? On Ubuntu Linux, you can easily retrieve the wireless password like this:

sudo cat /etc/NetworkManager/system-connections/YOUR_NETWORK_NAME_HERE | grep "psk="

The output will be something like:

psk=myultrasecretpassword

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.