1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 01:04:56 +02:00
tldr/pages/linux/nmcli.md
2019-09-02 16:22:40 +01:00

27 lines
568 B
Markdown

# nmcli
> A command line tool for controlling NetworkManager.
- List all NetworkManager connections (shows name, uuid, type and device):
`nmcli connection`
- 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 {{name}} password {{password}}`
- Activate a connection by specifying an uuid:
`nmcli connection up uuid {{uuid}}`
- Deactivate a connection:
`nmcli connection down uuid {{uuid}}`
- Print statuses of network interfaces:
`nmcli device status`