2017-10-16 12:41:31 +01:00
|
|
|
# nmcli
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> A command-line tool for controlling NetworkManager.
|
2021-09-13 09:21:21 +01:00
|
|
|
> Some subcommands such as `nmcli monitor` have their own usage documentation.
|
2021-07-11 20:40:19 +01:00
|
|
|
> More information: <https://manned.org/nmcli>.
|
2017-10-16 12:41:31 +01:00
|
|
|
|
2021-07-11 20:40:19 +01:00
|
|
|
- Run an `nmcli` subcommand:
|
2017-10-16 12:41:31 +01:00
|
|
|
|
2021-07-11 20:40:19 +01:00
|
|
|
`nmcli {{agent|connection|device|general|help|monitor|networking|radio}} {{command_options}}`
|
2017-10-16 12:41:31 +01:00
|
|
|
|
2021-07-11 20:40:19 +01:00
|
|
|
- Display the current version of NetworkManager:
|
2018-07-28 23:31:35 +01:00
|
|
|
|
2021-07-11 20:40:19 +01:00
|
|
|
`nmcli --version`
|
2018-07-28 23:31:35 +01:00
|
|
|
|
2021-07-11 20:40:19 +01:00
|
|
|
- Display help:
|
2018-07-28 23:31:35 +01:00
|
|
|
|
2021-07-11 20:40:19 +01:00
|
|
|
`nmcli --help`
|
2018-07-28 23:31:35 +01:00
|
|
|
|
2021-07-11 20:40:19 +01:00
|
|
|
- Display help for a subcommand:
|
2017-10-16 12:41:31 +01:00
|
|
|
|
2021-07-11 20:40:19 +01:00
|
|
|
`nmcli {{subcommand}} --help`
|