Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-28 00:19:36 +00:00
parent 9565d2532c
commit 241ab8e29f
10 changed files with 189 additions and 28 deletions

34
tldr/linux/cec-client Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# cec-client
> Manage serial bus CEC connections.
> See also: `cec-ctl`.
> More information: <https://manned.org/man/cec-client>.
- List all CEC adapters:
`cec-client {{[-l|--list-devices]}}`
- Start an interactive CEC session:
`sudo cec-client`
- Set the On-Screen Display name:
`sudo cec-client {{[-o|--osd-name]}} {{name}}`
- Send a single command:
`echo {{on 0}} | sudo cec-client {{[-s|--single-command]}}`
- Set a device to standby in interactive mode:
`standby {{0}}`
- Turn a device on in interactive mode:
`on {{0}}`