
{"id":33605,"date":"2021-04-20T15:47:03","date_gmt":"2021-04-20T15:47:03","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=33605"},"modified":"2021-04-20T15:47:03","modified_gmt":"2021-04-20T15:47:03","slug":"3-ways-check-wi-fi-password-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/04\/3-ways-check-wi-fi-password-ubuntu\/","title":{"rendered":"3 Ways to Check Your Wi-Fi Password in Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/04\/wifi-icon2.png\" alt=\"wifi hotspot\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-5827\" \/><\/p>\n<p>Forgot your wireless access point password? Well, there are a few ways to find it out in Ubuntu.<\/p>\n<h3>Option 1.) Using system&#8217;s wifi settings:<\/h3>\n<p>Firstly, if your Ubuntu is running with the default desktop environment. Simply go to Wi-Fi settings from system tray menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/04\/open-wifisettings.png\" alt=\"\" width=\"409\" height=\"472\" class=\"aligncenter size-full wp-image-33606\" \/><\/p>\n<p>Then click on the gear button after the current connected access point to get into settings page. Navigate to the <i>Security<\/i> tab, and finally tick &#8220;Show password&#8221; check out to get the password.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/04\/wifi-settings-passwd.png\" alt=\"\" width=\"600\" height=\"332\" class=\"aligncenter size-full wp-image-33607\" \/><\/p>\n<h3>Option 2.) Get Wi-Fi password via connection profiles:<\/h3>\n<p>For other desktop environments or command line, navigate to <b>\/etc\/NetworkManager\/system-connections<\/b> directory <i>either in file manager or by running command<\/i> in terminal:<\/p>\n<pre style=\"border:none;\">cd \/etc\/NetworkManager\/system-connections && ls<\/pre>\n<p>There you&#8217;ll see all saved network connections. Just open the desired one with your favorite text editor (need root permission) or by running command:<\/p>\n<pre style=\"border:none;\">sudo cat FILENAME.connection<\/pre>\n<p>When file opens, you&#8217;ll see the password under wifi-security section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/04\/connection-file.png\" alt=\"\" width=\"600\" height=\"328\" class=\"aligncenter size-full wp-image-33608\" \/><\/p>\n<h3>Option 3.) Single command to tell Wi-Fi password:<\/h3>\n<p>If you don&#8217;t hate Linux command, you can run this single command to print the current connected Wi-Fi password:<\/p>\n<pre style=\"border:none;\">nmcli device wifi show-password<\/pre>\n<p>The command will work on all Linux systems. And it outputs a QR code for sharing with your friends.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/04\/wifi-passwd-command.png\" alt=\"\" width=\"600\" height=\"398\" class=\"aligncenter size-full wp-image-33609\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Forgot your wireless access point password? Well, there are a few ways to find it out in Ubuntu. Option 1.) Using system&#8217;s wifi settings: Firstly, if your Ubuntu is running with the default desktop environment. Simply go to Wi-Fi settings from system tray menu: Then click on the gear button after the current connected access [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2027],"class_list":["post-33605","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-wifi"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=33605"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33605\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=33605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=33605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=33605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}