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

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Abandon a revision, rebasing descendants onto its parent(s).
> Abandoning a revision removes its associated change ID.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-abandon>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-abandon>.
- Abandon revisions specified by given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Split changes in the source revision and move each change to the closest mutable ancestor where the corresponding lines were modified last.
> Changes that have zero or multiple matching regions in ancestral revisions won't be moved.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-absorb>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-absorb>.
- Move all eligible and unambiguous changes from a revision to other revisions automatically:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Manage bookmarks in a `jj` repository.
> When using a Git backend, bookmarks correspond to Git branches.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-bookmark>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-bookmark>.
- Create a new bookmark at the given revision:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj commit
> Update the description and create a new change on top.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-commit>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-commit>.
- Open editor to write the commit message and then create a new empty commit on top:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj describe
> Update the change description or other metadata.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-describe>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-describe>.
- Update the description of the current change:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj diff
> Compare file contents between two revisions.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-diff>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-diff>.
- Show changes of current revision:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj diffedit
> Touch up the content changes in a revision with a diff editor.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-diffedit>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-diffedit>.
- Edit changes in the current revision with a diff editor:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj duplicate
> Create new changes with the same content as existing ones.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-duplicate>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-duplicate>.
- Duplicate the current revision onto its existing parent:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Set the specified revision as the working-copy revision.
> Note: It is generally recommended to instead use `jj new` and `jj squash`.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-edit>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-edit>.
- Set the given revision as the working copy:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj evolog
> Show how a change has evolved over time, listing the previous commits it has pointed to.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-evolog>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-evolog>.
- Show how a revision has evolved over time:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj git
> Run Git-related commands for a `jj` repository.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git>.
- Create a new Git backed repository:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create a new repo backed by a clone of a Git repo.
> Note: Unless `--colocate` is used, it is not a valid Git repository and `git` commands can't be used on it.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-clone>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-clone>.
- Create a new repo backed by a clone of a Git repo into a new directory (the default directory is the repository name):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj git fetch
> Fetch from a Git remote, downloading objects and refs from the remote repository.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-fetch>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-fetch>.
- Fetch the latest changes from the default remote repository:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create a new Git backed Jujutsu repo.
> Note: Unless `--colocate` is used, it is not a valid Git repository and `git` commands can't be used on it.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-init>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-init>.
- Create a new Git backed repo in the current directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj git push
> Push to a Git remote.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-push>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-push>.
- Push a bookmark to the given remote (defaults to `git.push` setting):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj git remote
> Manage Git remotes.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-remote>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-git-remote>.
- List all Git remotes:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj interdiff
> Compare changes of two revisions.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-interdiff>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-interdiff>.
- Compare changes from a revision to the working copy:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj log
> Show revision history as a graph.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-log>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-log>.
- Show revision history as a graph:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj new
> Create a new empty change.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-new>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-new>.
- Create a new empty change on top of current revision:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj next
> Move the working-copy commit to a child revision.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-next>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-next>.
- Move the working-copy commit to the next child revision:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj operation
> Work with the operation log of a `jj` repository.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-operation>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-operation>.
- Show operation log:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj parallelize
> Parallelize revisions by making them siblings.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-parallelize>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-parallelize>.
- Parallelize given revisions:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj prev
> Move the working-copy commit to a parent revision.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-prev>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-prev>.
- Move the working-copy commit to the previous parent revision:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj rebase
> Move revisions to different parent(s).
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-rebase>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-rebase>.
- Move given revisions to a different parent(s):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj resolve
> Resolve conflicted files with an external merge tool.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-resolve>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-resolve>.
- Resolve all conflicts:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj restore
> Restore files from another revision.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-restore>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-restore>.
- Restore files from a revision into another revision:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj revert
> Apply the reverse of the given revision(s).
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-revert>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-revert>.
- Apply the reverse of the revisions specified by the given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj show
> Show commit description and changes in a revision.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-show>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-show>.
- Show commit description and changes in a revision:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Simplify parent edges for the specified revision(s).
> For example, "A -> B -> C | A -> C" gets simplified to "A -> B -> C".
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-simplify-parents>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-simplify-parents>.
- Simplify parent edges of given revisions:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj split
> Split a revision in two.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-split>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-split>.
- Split the given revision into two interactively, putting the second revision on top of it:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj squash
> Move changes from a revision into another revision.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-squash>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-squash>.
- Move all changes from current revision to its parent:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show high-level repository status.
> This includes the working copy commit and its parents, and a summary of the changes in the working copy and any existing conflicts in the working copy.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-status>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-status>.
- Show high-level status of the repository:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jj undo
> Undo the most recent recorded operation in a `jj` repository.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-undo>.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-undo>.
- Undo the last operation:

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:

Some files were not shown because too many files have changed in this diff Show More