Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-20 00:21:08 +00:00
parent 9c64f72b0c
commit c3f5e8d7ab
19 changed files with 409 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
`apparmor_parser {{[-p|--preprocess]}} {{[-o|--ofile]}} {{path/to/output.cache}} {{[-Q|--skip-kernel-load]}} {{path/to/profile}}`
- Preprocess and print binary profile to stdout without loading:
- Preprocess and print binary profile to `stdout` without loading:
`apparmor_parser {{[-p|--preprocess]}} {{[-S|--stdout]}} {{[-Q|--skip-kernel-load]}} {{path/to/profile}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# intercept
> Read raw input events from a specified input event device and redirect it to stdout.
> Read raw input events from a specified input event device and redirect it to `stdout`.
> More information: <https://gitlab.com/interception/linux/tools/-/tree/master#intercept>.
- Read and output raw input events from a given input device file (the system will not see any key presses):

25
tldr/linux/pipewire-pulse Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pipewire-pulse
> Start a PulseAudio-compatible daemon for PipeWire.
> More information: <https://docs.pipewire.org/page_man_pipewire-pulse_1.html>.
- Start the daemon with default settings:
`pipewire-pulse`
- Start the daemon with a specific configuration file:
`pipewire-pulse {{[-c|--config]}} {{path/to/pipewire-pulse.conf}}`
- Increase the verbosity level (use multiple times for more verbosity, e.g. `-vvv`):
`pipewire-pulse {{[-v|--verbose]}}`
- Display help:
`pipewire-pulse {{[-h|--help]}}`

View File

@@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
- List all virtual machines:
`qm {{[l|list]}}`
`qm list`
- List all virtual machines with a full status about the ones which are currently running:
`qm {{[l|list]}} --full 1`
`qm list --full 1`

29
tldr/linux/sulogin Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# sulogin
> Log in as root during single-user mode.
> More information: <https://manned.org/man/sulogin>.
- Start `sulogin` on the default console:
`sudo sulogin`
- Start `sulogin` on a specific TTY device:
`sudo sulogin {{/dev/ttyX}}`
- Set a maximum timeout(in seconds) for entering the root password before continuing normal boot:
`sudo sulogin {{[-t|--timeout]}} {{timeout}}`
- Start root's shell as a login shell:
`sudo sulogin {{[-p|--login-shell]}}`
- Force a root shell without asking for a password when default methods of obtaining the password fail:
`sudo sulogin {{[-e|--force]}}`

41
tldr/linux/ventoy Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ventoy
> A tool to create bootable USB drives using ISO files.
> More information: <https://www.ventoy.net/en/doc_start.html#doc_linux_cli>.
- Install Ventoy to a specific drive with the defaults:
`ventoy -i {{/dev/sdX}}`
- Install Ventoy with GPT partition style instead of MBR:
`ventoy -i -g {{/dev/sdX}}`
- Install Ventoy with GPT partition style and a custom partition label and secure boot disabled:
`ventoy -i -g -S -L {{LABEL_NAME}} {{/dev/sdX}}`
- Install Ventoy and reserve space at the end of the disk:
`ventoy -i -r {{SIZE_MB}} {{/dev/sdX}}`
- Force install Ventoy (overwrites existing installation):
`ventoy -I {{/dev/sdX}}`
- Update Ventoy on a drive:
`ventoy -u {{/dev/sdX}}`
- Display Ventoy information for a drive:
`ventoy -l {{/dev/sdX}}`
- Try non-destructive installation if possible (Ventoy will not reformat the disk):
`ventoy -i -n {{/dev/sdX}}`