Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-13 00:19:20 +00:00
parent 4c553ecd81
commit 7351e2a037
106 changed files with 151 additions and 108 deletions

View File

@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`apptainer build {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}`
- Build a writable [s]andbox directory instead of an image file:
- Build a writable sandbox directory instead of an image file:
`apptainer build {{[-s|--sandbox]}} {{path/to/directory}} docker://{{image}}:{{tag}}`
@@ -28,11 +28,11 @@ source: https://github.com/tldr-pages/tldr.git
`apptainer build --disable-cache {{path/to/image.sif}} docker://{{image}}:{{tag}}`
- [F]orce overwrite an existing image file:
- Force overwrite an existing image file:
`apptainer build {{[-F|--force]}} {{path/to/image.sif}} {{path/to/definition.def}}`
- Build using [f]akeroot for unprivileged builds:
- Build using fakeroot for unprivileged builds:
`apptainer build {{[-f|--fakeroot]}} {{path/to/image.sif}} {{path/to/definition.def}}`

View File

@@ -14,9 +14,9 @@ source: https://github.com/tldr-pages/tldr.git
- Delete an image for a specific architecture:
`apptainer delete --arch {{amd64|arm64|ppc64le}} library://{{user/collection/container}}:{{tag}}`
`apptainer delete {{[-A|--arch]}} {{amd64|arm64|ppc64le}} library://{{user/collection/container}}:{{tag}}`
- [F]orce delete an image without confirmation:
- Force delete an image without confirmation:
`apptainer delete {{[-F|--force]}} library://{{user/collection/container}}:{{tag}}`

View File

@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
`apptainer pull --arch {{amd64|arm64|ppc64le}} {{path/to/image.sif}} library://{{image}}:{{tag}}`
- [F]orce overwrite an existing image file:
- Force overwrite an existing image file:
`apptainer pull {{[-F|--force]}} {{path/to/image.sif}} docker://{{image}}:{{tag}}`

View File

@@ -17,11 +17,11 @@ source: https://github.com/tldr-pages/tldr.git
`apptainer push {{path/to/image.sif}} oras://{{registry/namespace/image}}:{{tag}}`
- Push an [U]nsigned container (skip signature verification):
- Push an unsigned container (skip signature verification):
`apptainer push {{[-U|--allow-unsigned]}} {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}`
- Push a container with a [D]escription (library only):
- Push a container with a description (library only):
`apptainer push {{[-D|--description]}} "{{description}}" {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}`

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apptainer sign
> Add digital signatures to a SIF container image.
> See also: `apptainer-verify`.
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_sign.html>.
- Sign a container image using the default PGP key:

View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# apptainer verify
> Verify digital signatures of SIF container images.
> See also: `apptainer-sign`.
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_verify.html>.
- Verify a container image using the default PGP keyring:
`apptainer verify {{path/to/image.sif}}`
- Verify a container image using a specific public key file:
`apptainer verify --key {{path/to/public.pem}} {{path/to/image.sif}}`
- Verify a container image using a certificate file:
`apptainer verify --certificate {{path/to/certificate.pem}} {{path/to/image.sif}}`
- Verify all objects in the image:
`apptainer verify {{[-a|--all]}} {{path/to/image.sif}}`
- Verify a specific object group within the image:
`apptainer verify {{[-g|--group-id]}} {{group_id}} {{path/to/image.sif}}`
- Verify a specific object by ID within the image:
`apptainer verify {{[-i|--sif-id]}} {{object_id}} {{path/to/image.sif}}`
- Output verification results in JSON format:
`apptainer verify {{[-j|--json]}} {{path/to/image.sif}}`
- Display help:
`apptainer verify {{[-h|--help]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl cancel
> Cancel one or more pending jobs in the system manager or user manager.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#cancel%20JOB%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#cancel%20JOB%E2%80%A6>.
- Cancel a job by its numeric ID:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl cat
> Show the full contents of unit files as systemd sees them.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#cat%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#cat%20PATTERN%E2%80%A6>.
- Show the contents and absolute path of a unit file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Reexecute systemd while preserving current unit states.
> See also: `systemctl daemon-reload`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#daemon-reexec>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#daemon-reexec>.
- Reexecute systemd:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Reload systemd manager configuration.
> Use this after creating, modifying, or deleting unit files.
> See also: `systemctl reload`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#daemon-reload>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#daemon-reload>.
- Reload systemd to apply changes in unit files:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl default
> Enter system default mode.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#default>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#default>.
- Enter default mode as a blocking operation:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl disable
> Disable systemd services.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#disable%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#disable%20UNIT%E2%80%A6>.
- Stop a service from running on boot:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Edit systemd unit files.
> See also: `systemctl revert`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#edit%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/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 emergency
> Enter emergency mode `emergency.target`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#emergency>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#emergency>.
- Enter emergency mode:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl enable
> Enable systemd services.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#enable%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#enable%20UNIT%E2%80%A6>.
- Enable a service to run on boot:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl exit
> Ask the service manager to quit.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#exit%20EXIT_CODE>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#exit%20EXIT_CODE>.
- Exit the user service manager:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Freeze one or more units.
> Frozen units can be resumed with `systemctl thaw`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#freeze%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#freeze%20PATTERN%E2%80%A6>.
- Freeze a specific unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl get-default
> Display the default target (runlevel) that the system will boot into.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#get-default>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#get-default>.
- Check the default target on your system:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Shut down and halt the system (stop the OS kernel but keep hardware powered on).
> See also: `halt`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#halt>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#halt>.
- Halt the system:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl help
> Show the manual pages for one or more units, or for the unit a process belongs to (by PID).
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#help%20PATTERN%E2%80%A6%7CPID%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#help%20PATTERN%E2%80%A6%7CPID%E2%80%A6>.
- Show the manual page for a specific unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl hibernate
> Hibernate the system by saving the current state to disk and powering off.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#hibernate>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#hibernate>.
- Hibernate the system immediately:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl hybrid-sleep
> Put the system into hybrid sleep, which combines suspend-to-RAM and hibernate.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#hybrid-sleep>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#hybrid-sleep>.
- Put the system into hybrid sleep immediately:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl is-active
> Check if one or more systemd units are active.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#is-active%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-active%20PATTERN%E2%80%A6>.
- Check whether a unit is active:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Check whether unit files are enabled.
> See also: `systemctl enable`, `systemctl disable`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#is-enabled%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-enabled%20UNIT%E2%80%A6>.
- Show the enablement state:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Check if one or more systemd units have failed.
> See also: `systemctl is-active`, `systemctl status`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#is-failed%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-failed%20PATTERN%E2%80%A6>.
- Check if there are any failed units:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl is-system-running
> Check the current state of the system.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#is-system-running>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-system-running>.
- Check whether the system is operational and print the current state:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Start the specified unit with its dependencies and stop all others.
> Ignores the units which have `IgnoreOnIsolate=yes`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#isolate%20UNIT>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#isolate%20UNIT>.
- Switch to a target (assumed `.target` if no extension provided):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl kexec
> Reboot the system via kexec.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#kexec>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#kexec>.
- Fast reboot using kexec (if kernel is pre-loaded):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl kill
> Send a signal to one or more processes of a unit.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#kill%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#kill%20PATTERN%E2%80%A6>.
- Send the `SIGTERM` signal to a unit to terminate it:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Link a unit file located outside the unit file search path into the search path.
> See also: `systemctl disable`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#link%20PATH%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#link%20PATH%E2%80%A6>.
- Link a unit file to make it available for systemd commands:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> List automount units currently in memory, showing mount paths and unit names.
> See also: `systemctl list-units`, `systemctl list-unit-files`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-automounts%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-automounts%20PATTERN%E2%80%A6>.
- List automount units currently in memory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl list-jobs
> List of active systemd jobs that are currently queued or running on the system.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-jobs%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-jobs%20PATTERN%E2%80%A6>.
- List all active jobs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl list-machines
> List the host and all running local virtual machines or containers with their state.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-machines%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-machines%20PATTERN%E2%80%A6>.
- Show all machines (host and running containers/VMs):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl list-paths
> List path units currently in memory, ordered by path.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-paths%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-paths%20PATTERN%E2%80%A6>.
- Show all path units currently in memory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> List active socket units currently in memory, ordered by listening address.
> See also: `systemctl list-units`, `systemctl list-unit-files`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-sockets%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-sockets%20PATTERN%E2%80%A6>.
- List active socket units currently in memory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl list-timers
> List all active systemd timers.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-timers%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-timers%20PATTERN%E2%80%A6>.
- List all active timers:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> List installed unit files and their enablement states.
> See also: `systemctl list-units`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-unit-files%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-unit-files%20PATTERN%E2%80%A6>.
- List installed unit files and their states:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> List units that systemd currently has in memory.
> See also: `systemctl list-unit-files`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-units%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-units%20PATTERN%E2%80%A6>.
- List units which are active, have pending jobs, or have failed:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl log-level
> Get or set the log level of the systemd manager.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#log-level%20[LEVEL]>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#log-level%20%5BLEVEL%5D>.
- Show the current log level of the systemd manager:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl log-target
> Get or set the log target for the systemd manager.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#log-target%20[TARGET]>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#log-target%20%5BTARGET%5D>.
- Show the current log target of the systemd manager:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl mask
> 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>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#mask%20UNIT%E2%80%A6>.
- Mask a service:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Power off the system.
> See also: `poweroff`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#poweroff>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#poweroff>.
- Power off the system:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Reset the enablement state of unit files to the defaults specified in preset policy files.
> See also: `systemctl preset-all`, `systemctl list-unit-files`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#preset%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#preset%20UNIT%E2%80%A6>.
- Reset the enablement state to preset defaults:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Reset the enablement state of all installed units to the defaults specified in preset policy files.
> See also: `systemctl preset`, `systemctl list-unit-files`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#preset-all>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#preset-all>.
- Reset the enablement state of all installed units:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl reboot
> Reboot the system.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#reboot>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#reboot>.
- Reboot the system:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Re-enable one or more units.
> Used when targets of a service change.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#reenable%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#reenable%20UNIT%E2%80%A6>.
- Re-enable a unit, restoring its default symlinks:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl reload-or-restart
> Reload `systemd` unit(s) otherwise restart them.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#reload-or-restart%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#reload-or-restart%20PATTERN%E2%80%A6>.
- Reload or restart a unit:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Enter rescue mode.
> See also: `systemctl emergency`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#rescue>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#rescue>.
- Enter rescue mode:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl reset-failed
> Reset the "failed" state of one or more units.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#reset-failed%20%5BPATTERN%E2%80%A6%5D>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#reset-failed%20%5BPATTERN%E2%80%A6%5D>.
- Reset the failed state of all units:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Stop and then start one or more systemd units.
> Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#restart%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#restart%20PATTERN%E2%80%A6>.
- Restart a unit:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Revert unit files to their vendor versions.
> Undoes the effects of `edit`, `enable`, `disable`, `set-property`, and `mask`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#revert%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#revert%20UNIT%E2%80%A6>.
- Revert unit files to their default settings:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl service-log-level
> Get or set the runtime log level of a service via D-Bus.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#service-log-level%20SERVICE%20%5BLEVEL%5D>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#service-log-level%20SERVICE%20%5BLEVEL%5D>.
- Show the current log level of a service:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Get or set the log target for a service.
> Only works for D-Bus integrated services.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#service-log-target%20SERVICE%20[TARGET]>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#service-log-target%20SERVICE%20%5BTARGET%5D>.
- Show the current log target for a service:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl service-watchdogs
> Get or set the global state of service runtime watchdogs.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#service-watchdogs%20[yes|no]>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#service-watchdogs%20%5Byes%7Cno%5D>.
- Show whether service watchdogs are currently enabled:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl set-default
> Symlink the `default.target` alias to the given target unit.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#set-default%20TARGET>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#set-default%20TARGET>.
- Set `systemd`'s default boot mode:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl set-environment
> Set one or more service manager environment variables.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#set-environment%20VARIABLE=VALUE%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#set-environment%20VARIABLE=VALUE%E2%80%A6>.
- Set a single environment variable:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl set-property
> Set the specified unit properties at runtime.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#set-property%20UNIT%20PROPERTY=VALUE%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#set-property%20UNIT%20PROPERTY=VALUE%E2%80%A6>.
- Set a property for a running service:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl show
> Show properties of units or systemd itself.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#show%20PATTERN%E2%80%A6%7CJOB%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#show%20PATTERN%E2%80%A6%7CJOB%E2%80%A6>.
- Show properties of the system service manager:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl show-environment
> Display systemd environment blocks.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#show-environment>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#show-environment>.
- Display the environment block for the system:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl soft-reboot
> Shut down and reboot userspace, leaving the kernel running.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#soft-reboot>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#soft-reboot>.
- Perform a soft reboot immediately:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl start
> Start systemd units.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#start%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#start%20PATTERN%E2%80%A6>.
- Start a unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl status
> Display the status of systemd units.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#status%20PATTERN%E2%80%A6%7CPID%E2%80%A6%5D>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#status%20PATTERN%E2%80%A6%7CPID%E2%80%A6%5D>.
- Show the status of a systemd unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl stop
> Stop systemd units.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#stop%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#stop%20PATTERN%E2%80%A6>.
- Stop a unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl suspend
> Suspend the system.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#suspend>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#suspend>.
- Suspend the system immediately:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl suspend-then-hibernate
> Suspend the system, then automatically hibernate after a period of inactivity.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#suspend-then-hibernate>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#suspend-then-hibernate>.
- Suspend the system and hibernate after the configured delay:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl switch-root
> Switch to a new root filesystem and execute a new system manager.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#switch-root%20ROOT%20INIT>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#switch-root%20ROOT%20INIT>.
- Switch to a new root filesystem and execute its default init system:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Thaw (resume) one or more frozen units.
> Units can be frozen with `systemctl freeze`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#thaw%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#thaw%20PATTERN%E2%80%A6>.
- Thaw a specific unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl try-reload-or-restart
> Reload one or more units if they support it; otherwise restart them.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#try-reload-or-restart%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#try-reload-or-restart%20PATTERN%E2%80%A6>.
- Reload or restart a specific unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl try-restart
> Restart one or more units only if they are currently running.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#try-restart%20PATTERN%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#try-restart%20PATTERN%E2%80%A6>.
- Restart a specific unit if it is running:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Unmask units to make them startable again.
> This undoes the effect of `systemctl mask`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#unmask%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#unmask%20UNIT%E2%80%A6>.
- Unmask a service:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Unset one or more service manager environment variables.
> This undoes the effect of `systemctl set-environment`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#unset-environment%20VARIABLE%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#unset-environment%20VARIABLE%E2%80%A6>.
- Unset a single environment variable:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show units that processes belong to.
> If no PID is specified, shows the unit the `systemctl` command itself is invoked in.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#whoami%20%5BPID%E2%80%A6%5D>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#whoami%20%5BPID%E2%80%A6%5D>.
- Show the unit of the current shell (where `systemctl` is running):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# waypipe
> Remotely run graphical applications under a Wayland compositor.
> More information: <https://gitlab.freedesktop.org/mstoeckl/waypipe>.
> More information: <https://manned.org/waypipe>.
- Run a graphical program remotely and display it locally: