tldr/pages/linux/nmcli.md

22 lines
511 B
Markdown
Raw Normal View History

2017-10-16 12:41:31 +01:00
# nmcli
> A command-line tool for controlling NetworkManager.
> Some subcommands such as `nmcli monitor` have their own usage documentation.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
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:
2021-07-11 20:40:19 +01:00
`nmcli --version`
2021-07-11 20:40:19 +01:00
- Display help:
2021-07-11 20:40:19 +01:00
`nmcli --help`
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`