Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-06 00:20:12 +00:00
parent 22576ac740
commit ce31a6d914
16 changed files with 168 additions and 14 deletions

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# caligula
> A user-friendly, lightweight TUI for disk imaging.
> See also: `dd`.
> More information: <https://github.com/ifd3f/caligula>.
- Flash an ISO to a drive:

View File

@@ -20,14 +20,18 @@ source: https://github.com/tldr-pages/tldr.git
`cat {{path/to/file1 path/to/file2 ...}} >> {{path/to/output_file}}`
- Write `stdin` to a file:
- Write to a file interactively:
`cat - > {{path/to/file}}`
`cat > {{path/to/file}}`
- Number all output lines:
`cat {{[-n|--number]}} {{path/to/file}}`
- Display non-printable and whitespace characters (with `M-` prefix if non-ASCII):
- Display all characters, including tabs, line endings, and non-printing characters:
`cat {{[-vte|--show-nonprinting -t -e]}} {{path/to/file}}`
`cat {{[-A|--show-all]}} {{path/to/file}}`
- Pass file contents to another program through `stdin`:
`cat {{path/to/file}} | {{program}}`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dd
> Convert and copy a file.
> See also: `caligula`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.html>.
- Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`) and show the progress:

33
tldr/linux/koji Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# koji
> Interact with kojihub.
> More information: <https://docs.pagure.org/koji>.
- Execute a koji subcommand:
`koji {{subcommand}}`
- Introduce yourself to test connectivity with koijhub:
`koji moshimoshi`
- Display help about global options:
`koji --help`
- Display help to get all available commands:
`koji help`
- Display help for a specific subcommand (like `build`, `tag-build`, `download-build`, `buildinfo`,`call`, etc.):
`koji {{subcommand}} --help`
- Display version:
`koji version`

View File

@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
# waydroid
> A container-based approach to boot a full Android system on a regular Linux system like Ubuntu.
> More information: <https://docs.waydro.id>.
> More information: <https://docs.waydro.id/usage/waydroid-command-line-options>.
- Start Waydroid:
`waydroid`
`waydroid show-full-ui`
- Initialize Waydroid (required on first run or after reinstalling Android):