Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-20 00:24:01 +00:00
parent 16134c78d9
commit 1ec3810968
41 changed files with 352 additions and 139 deletions

View File

@@ -6,17 +6,16 @@ source: https://github.com/tldr-pages/tldr.git
# nmcli agent
> Run `nmcli` as a NetworkManager secret agent or polkit agent.
> This subcommand can also be called with `nmcli a`.
> More information: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
- Register `nmcli` as a secret agent and listen for secret requests:
`nmcli agent secret`
`nmcli {{[a|agent]}} {{[s|secret]}}`
- Register `nmcli` as a polkit agent and listen for authorization requests:
`nmcli agent polkit`
`nmcli {{[a|agent]}} {{[p|polkit]}}`
- Register `nmcli` as a secret agent and a polkit agent:
`nmcli agent all`
`nmcli {{[a|agent]}} {{[a|all]}}`