nmcli: add examples (#10522)
This commit is contained in:
@@ -4,6 +4,14 @@
|
|||||||
> Some subcommands such as `nmcli monitor` have their own usage documentation.
|
> Some subcommands such as `nmcli monitor` have their own usage documentation.
|
||||||
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
> 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:
|
- Run an `nmcli` subcommand:
|
||||||
|
|
||||||
`nmcli {{agent|connection|device|general|help|monitor|networking|radio}} {{command_options}}`
|
`nmcli {{agent|connection|device|general|help|monitor|networking|radio}} {{command_options}}`
|
||||||
|
Reference in New Issue
Block a user