Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-05 00:24:05 +00:00
parent 2bbe099b4f
commit 54605ccea2
17 changed files with 71 additions and 36 deletions

View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# apptainer delete
> Delete container images from a remote library.
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_delete.html>.
- Delete an image from the Container Library:
`apptainer delete library://{{user/collection/container}}:{{tag}}`
- Delete an image for a specific architecture:
`apptainer delete --arch {{amd64|arm64|ppc64le}} library://{{user/collection/container}}:{{tag}}`
- [F]orce delete an image without confirmation:
`apptainer delete {{[-F|--force]}} library://{{user/collection/container}}:{{tag}}`
- Delete an image from a specific library server:
`apptainer delete --library {{https://library.example.com}} library://{{user/collection/container}}:{{tag}}`
- Delete an image using HTTP instead of HTTPS:
`apptainer delete --no-https library://{{hostname/user/collection/container}}:{{tag}}`
- Display help:
`apptainer delete {{[-h|--help]}}`

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{path/to/webroot}} {{[-d|--domain]}} {{subdomain.example.com}}`
- Obtain a new certificate via nginx authorization, installing the new certificate automatically:
- Obtain a new certificate via `nginx` authorization, installing the new certificate automatically:
`sudo certbot --nginx {{[-d|--domain]}} {{subdomain.example.com}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# semanage permissive
> Manage persistent SELinux permissive domains.
> Note that this effectively makes the process unconfined. For long-term use, it is recommended to configure SELiunx properly.
> Note that this effectively makes the process unconfined. For long-term use, it is recommended to configure SELinux properly.
> See also: `semanage`, `getenforce`, `setenforce`.
> More information: <https://manned.org/semanage-permissive>.

View File

@@ -14,6 +14,6 @@ source: https://github.com/tldr-pages/tldr.git
`setenforce {{1|Enforcing}}`
- Put SELiunx in permissive mode:
- Put SELinux in permissive mode:
`setenforce {{0|Permissive}}`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl edit
> Edit systemd unit files.
> See also: `systemctl revert`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#edit%20UNIT%E2%80%A6>.
- Overlay a unit file non-destructively:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl reload
> Reload a service's configuration without restarting it.
> This reloads the service itself (like Apache or Nginx configs), not the systemd unit file.
> This reloads the service itself (like Apache or `nginx` configs), not the systemd unit file.
> To reload unit files, use `systemctl daemon-reload`.
- Reload a service: