Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-11 00:24:43 +00:00
parent 5ad1f5ce60
commit 66b30baed4
12 changed files with 252 additions and 19 deletions

View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# apptainer search
> Search a Container Library for container images.
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_search.html>.
- Search for container images matching a query:
`apptainer search {{query}}`
- Search for container images for a specific architecture:
`apptainer search --arch {{amd64|arm64|386|ppc64le|s390x}} {{query}}`
- Search for only signed container images:
`apptainer search --signed {{query}}`
- Search in a specific Container Library:
`apptainer search --library {{library_url}} {{query}}`
- Display help:
`apptainer search {{[-h|--help]}}`

33
tldr/linux/apptainer-sign Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# apptainer sign
> Add digital signatures to a SIF container image.
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_sign.html>.
- Sign a container image using the default PGP key:
`apptainer sign {{path/to/image.sif}}`
- Sign a container image using a specific private key file:
`apptainer sign --key {{path/to/private.pem}} {{path/to/image.sif}}`
- Sign a container image using a specific PGP key index:
`apptainer sign {{[-k|--keyidx]}} {{key_index}} {{path/to/image.sif}}`
- Sign a specific object group within the image:
`apptainer sign {{[-g|--group-id]}} {{group_id}} {{path/to/image.sif}}`
- Sign a specific object by ID within the image:
`apptainer sign {{[-i|--sif-id]}} {{object_id}} {{path/to/image.sif}}`
- Display help:
`apptainer sign {{[-h|--help]}}`

View File

@@ -28,3 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
- Send a file to the trash (reversible):
`gio trash {{path/to/file}}`
- Launch an application from a `.desktop` file:
`gio launch {{path/to/file}}.desktop`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# systemctl mask
> Link units to `/dev/null` so that they can be even started.
> Link units to `/dev/null` so that they cannot be started.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#mask%20UNIT%E2%80%A6>.
- Mask a service: