nmcli: add examples (#10522)

pull/23/head
Managor 2023-07-24 20:59:53 +03:00 committed by GitHub
parent 17202d47df
commit 3c578d74ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,14 @@
> Some subcommands such as `nmcli monitor` have their own usage documentation.
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
- List all available wifi networks:
`nmcli device wifi`
- Connect to a wifi network:
`nmcli dev wifi connect {{SSID}}`
- Run an `nmcli` subcommand:
`nmcli {{agent|connection|device|general|help|monitor|networking|radio}} {{command_options}}`