1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 16:22:08 +02:00
tldr/pages/linux/nmcli-device.md
marchersimon 236c68f8a8
nmcli-general, nmcli-networking: add page (#8264)
* nmcli-general: add page

* nmcli-networking: add page
2022-07-30 22:23:57 +10:00

557 B

nmcli device

Hardware device management with NetworkManager. This subcommand can also be called with nmcli d. 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