1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 23:02:08 +02:00
tldr/pages/linux/nmcli-device.md
git-em 8628cba2eb
linux/*: replace man.archlinux.com link (#7861)
* linux/*: replace man.archlinux.com

Does not replace links of pages directly associated with archlinux (eg: pacman)

* nmcli-device, nmcli-connection: use author's link
2022-03-09 14:31:08 +10:00

504 B

nmcli device

Hardware device management with NetworkManager. More information: https://networkmanager.dev/docs/api/latest/nmcli.html.

  • Print the statuses of all network interfaces:

nmcli device status

  • Print the available Wi-Fi access points:

nmcli device wifi

  • Connect to the Wi-Fi network with a specified name and password:

nmcli device wifi connect {{ssid}} password {{password}}

  • Print password and QR code for the current Wi-Fi network:

nmcli device wifi show-password