Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-27 00:21:38 +00:00
parent 8270b3f19b
commit 558cf60f0b
18 changed files with 58 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Execute commands at a later time when the system load levels permit.
> Results will be sent to the user's mail.
> See also: `at`, `atq`, `atrm` `mail`.
> See also: `at`, `atq`, `atrm`, `mail`.
> More information: <https://manned.org/batch>.
- Execute commands from `stdin` (press `<Ctrl d>` when done):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# crane index
> Modify an image index.
> The subcommands `append` and `filter` have their own usage documentation.
> Some subcommands such as `append` and `filter` have their own usage documentation.
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_index.md>.
- Modify an image index:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gcloud
> The official CLI tool for Google Cloud Platform.
> Note: `gcloud` subcommands have their own usage documentation.
> Some subcommands such as `app` and `init` have their own usage documentation.
> More information: <https://docs.cloud.google.com/sdk/gcloud>.
- List all properties in one's active configuration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git format-patch
> Prepare `.patch` files. Useful when emailing commits elsewhere.
> See also: `git am` which can apply generated `.patch` files.
> See also: `git am`.
> More information: <https://git-scm.com/docs/git-format-patch>.
- Create an auto-named `.patch` file for all the unpushed commits:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# alien
> Convert different installation packages to other formats.
> See also: `debtap` for `.deb` conversion on Arch Linux.
> See also: `debtap`.
> More information: <https://manned.org/alien>.
- Convert a specific installation file to Debian format (`.deb` extension):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Execute commands at a later time when the system load levels permit.
> Results will be sent to the user's mail.
> See also: `at`, `atq`, `atrm` `mail`.
> See also: `at`, `atq`, `atrm`, `mail`.
> More information: <https://manned.org/batch>.
- Start the `atd` daemon:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pkgfile
> Search files from packages in the official repositories on Arch-based systems.
> See also: `pacman files` describing the usage of `pacman --files`.
> See also: `pacman files`.
> More information: <https://manned.org/pkgfile>.
- Synchronize the pkgfile database:

View File

@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original command:
`tldr qm guest cmd`
`tldr qm guest`

View File

@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original command:
`tldr qm disk import`
`tldr qm disk`

View File

@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original command:
`tldr qm disk move`
`tldr qm disk`

View File

@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original command:
`tldr qm disk move`
`tldr qm disk`

View File

@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original command:
`tldr qm disk rescan`
`tldr qm disk`

View File

@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original command:
`tldr qm disk resize`
`tldr qm disk`

View File

@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original command:
`tldr qm disk unlink`
`tldr qm disk`

View File

@@ -26,18 +26,18 @@ source: https://github.com/tldr-pages/tldr.git
`quickemu --sound-card {{intel-hda|ac97|es1370|sb16|none}} --shortcut --vm {{path/to/file.conf}}`
- Create a snapshot:
- Create/restore/delete a snapshot:
`quickemu --snapshot create {{tag}} --vm {{path/to/file.conf}}`
- Restore a snapshot:
`quickemu --snapshot apply {{tag}} --vm {{path/to/file.conf}}`
`quickemu --snapshot {{create|apply|delete}} {{tag}} --vm {{path/to/file.conf}}`
- List available snapshots:
`quickemu --snapshot info --vm {{path/to/file.conf}}`
- Delete a snapshot:
- Delete the entire virtual machine and its configuration:
`quickemu --snapshot delete {{tag}} --vm {{path/to/file.conf}}`
`quickemu --delete-vm --vm {{path/to/file.conf}}`
- Delete the virtual machine's disk image and EFI variables:
`quickemu --delete-disk --vm {{path/to/file.conf}}`

View File

@@ -6,13 +6,13 @@ source: https://github.com/tldr-pages/tldr.git
# quickget
> Download and prepare materials for building a Quickemu virtual machine.
> Note: The parameter "edition" is always optional.
> Note: The parameter "edition" is sometimes optional.
> See also: `quickemu`.
> More information: <https://github.com/quickemu-project/quickemu>.
- Display the list of all supported guest operating systems, versions, and variants:
- Display the list of all supported guest operating systems, versions, and variants in various formats:
`quickget list`
`quickget {{--list|--list-csv|--list-json}}`
- Download and create the virtual machine configuration for building a Quickemu virtual machine for an OS:
@@ -28,16 +28,16 @@ source: https://github.com/tldr-pages/tldr.git
- Show an ISO URL for an operating system:
`quickget --url fedora {{release}} {{edition}}`
`quickget --url {{os}} {{release}} {{edition}}`
- Test if an ISO file is available for an operating system:
`quickget --check nixos {{release}} {{edition}}`
`quickget --check {{os}} {{release}} {{edition}}`
- Download an image without building any VM configuration:
`quickget --download {{os}} {{release}} {{edition}}`
- Create a VM configuration for an OS image:
- Create a VM configuration for an OS image (this will move the ISO from the source directory):
`quickget --create-config {{os}} {{path/to/iso}}`

25
tldr/osx/trash Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# trash
> Move files and directories to the user trash folder.
> More information: <https://keith.github.io/xcode-man-pages/trash.8.html>.
- Move a file to the trash:
`trash {{path/to/file}}`
- Move multiple items or directories to the trash:
`trash {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Move files to the trash with verbose output:
`trash {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}`
- Display help:
`trash {{[-h|--help]}}`

View File

@@ -20,7 +20,11 @@ source: https://github.com/tldr-pages/tldr.git
`pkgz search {{package_name}}`
- Show enabled sources with the package available and/or installed:
- Show how many packages are installed per source:
`pkgz info`
- Show where a package is installed or available:
`pkgz info {{package_name}}`