mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 22:22:18 +02:00
19 lines
375 B
Markdown
19 lines
375 B
Markdown
# nmcli
|
|
|
|
> A command line tool for controlling NetworkManager.
|
|
|
|
- List all NetworkManager connections (shows name, uuid, type and device):
|
|
|
|
`nmcli connection`
|
|
|
|
- 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`
|