Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-27 00:20:53 +00:00
parent 6771bea4b5
commit 8d4568cb48
12 changed files with 239 additions and 7 deletions

View File

@@ -8,14 +8,22 @@ source: https://github.com/tldr-pages/tldr.git
> Manage a PipeWire instance's modules, objects, nodes, devices, links and much more.
> More information: <https://docs.pipewire.org/page_man_pw-cli_1.html>.
- Print all nodes (sinks and sources) along with their IDs:
- Print information of all object of a specific type:
`pw-cli list-objects Node`
`pw-cli {{[ls|list-objects]}} {{Node|Link|Port|Client|Device|Metadata|Factory|Module|Profiler|SecurityContext|Core}}`
- Print information about an object with a specific ID:
`pw-cli info {{4}}`
`pw-cli {{[i|info]}} {{4}}`
- Print all objects' information:
`pw-cli info all`
`pw-cli {{[i|info]}} all`
- Monitor for object changes:
`pw-cli {{[-m|--monitor]}}`
- Display help:
`pw-cli {{[h|help]}}`

22
tldr/linux/virt-what Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# virt-what
> Shell script that detects if you are running in a virtual machine.
> Outputs a specific code for a virtual machine if detected.
> More information: <https://manned.org/virt-what>.
- Detect if you are running in a virtual machine:
`virt-what`
- Log output of `virt-what` into a file:
`virt-what > {{path/to/file}}`
- Display version:
`virt-what --version`

18
tldr/linux/wpexec Normal file
View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# wpexec
> Run WirePlumber Lua scripts.
> See also: `wpctl`, `wireplumber`.
> More information: <https://pipewire.pages.freedesktop.org/wireplumber/scripting/lua_api/lua_introduction.html>.
- Run a WirePlumber script:
`wpexec {{path/to/file.lua}}`
- Display help:
`wpexec --help`