Forrest logo
back to the nmcli tool

nmcli-device:tldr:2bb17

nmcli-device: Print password and QR code for the current Wi-Fi network.
$ nmcli device wifi show-password
try on your machine

The command "nmcli device wifi show-password" is used to display the saved Wi-Fi password of a specific network on a NetworkManager-managed system.

Explanation of each part of the command:

  • "nmcli" is a command-line tool used to control NetworkManager, which is a tool for configuring and managing network connections on Linux systems.
  • "device" specifies that we want to perform an action related to a network device.
  • "wifi" indicates that we want to interact with Wi-Fi connections.
  • "show-password" requests the display of the saved password for a particular Wi-Fi network.

Overall, running this command will show you the password of a specific Wi-Fi network that has been previously saved on your computer.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the nmcli tool