nmcli device
Hardware device management with NetworkManager.
- 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
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).