Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-20 00:24:01 +00:00
parent 16134c78d9
commit 1ec3810968
41 changed files with 352 additions and 139 deletions

View File

@@ -6,21 +6,20 @@ source: https://github.com/tldr-pages/tldr.git
# nmcli device
> Manage network interfaces and establish new Wi-Fi connections using NetworkManager.
> This subcommand can also be called with `nmcli d`.
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
- Print the statuses of all network interfaces:
`nmcli device status`
`nmcli {{[d|device]}}`
- Print the available Wi-Fi access points:
`nmcli device wifi`
`nmcli {{[d|device]}} {{[w|wifi]}}`
- Connect to a Wi-Fi network with the specified SSID (you will be prompted for a password):
`nmcli --ask device wifi connect {{ssid}}`
`nmcli {{[d|device]}} {{[w|wifi]}} {{[c|connect]}} {{ssid}} {{[-a|--ask]}}`
- Print the password and QR code for the current Wi-Fi network:
`nmcli device wifi show-password`
`nmcli {{[d|device]}} {{[w|wifi]}} {{[s|show-password]}}`