nmcli: add more server examples (#3816)
This commit is contained in:
15
pages/linux/nmcli-device.md
Normal file
15
pages/linux/nmcli-device.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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}}`
|
Reference in New Issue
Block a user