wifi-password
The wifi-password command line tool is a utility available on macOS. It allows users to quickly retrieve the password of a connected Wi-Fi network directly from the command line. This tool is particularly useful when you want to share the Wi-Fi password with others or need to connect other devices to the same network. By running the wifi-password command along with the network name or SSID as an argument, the tool will display the password in plain text. It provides a convenient alternative to manually searching through network settings or using graphical interfaces to find Wi-Fi passwords. However, keep in mind that this tool can only retrieve passwords for networks that your device has previously connected to and securely stored in Keychain Access.
List of commands for wifi-password:
-
wifi-password:tldr:58c8d wifi-password: Print only the password as output.$ wifi-password -qtry on your machineexplain this command
-
wifi-password:tldr:63dbf wifi-password: Get the password for the Wi-Fi with a specific SSID.$ wifi-password ${ssid}try on your machineexplain this command
-
wifi-password:tldr:dfdde wifi-password: Get the password for the Wi-Fi you are currently logged onto.$ wifi-passwordtry on your machineexplain this command