nmcli device
Manage network interfaces and establish new Wi-Fi connections using NetworkManager. More information: https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html#device.
- Print the statuses of all network interfaces:
nmcli
- Print the available Wi-Fi access points:
nmcli
- Connect to a Wi-Fi network with the specified SSID (you will be prompted for a password):
nmcli
- Create a Wi-Fi hotspot:
nmcli ifname ssid "" password ""
- Print the password and QR code for the current Wi-Fi network:
nmcli
- Print detailed information about a device:
nmcli
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
