mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 04:48:01 +00:00
Update cheatsheets
This commit is contained in:
@@ -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
22
tldr/linux/virt-what
Normal 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
18
tldr/linux/wpexec
Normal 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`
|
||||
Reference in New Issue
Block a user