Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-21 00:23:35 +00:00
parent 11f02a6e11
commit 9017f8acda
64 changed files with 200 additions and 77 deletions

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> An alias to a `run-mailcap`'s action edit.
> Originally `run-mailcap` is used to process/edit mime-type/file.
> More information: <https://www.computerhope.com/unix/uedit.htm>.
> More information: <https://www.computerhope.com/unix/uedit>.
- Edit action can be used to view any file on default mailcap explorer:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# screenkey
> A screencast tool to display keys pressed.
> More information: <https://www.thregr.org/~wavexx/software/screenkey/>.
> More information: <https://www.thregr.org/wavexx/software/screenkey/>.
- Display keys which are currently being pressed on the screen:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl add-requires
> Add `Requires` dependencies to a target for one or more units.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#add-wants%20TARGET%0A%20%20%20%20%20%20%20%20%20%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#add-wants%20TARGET%20UNIT%E2%80%A6>.
- Add a `Requires` dependency from a target to a unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl add-wants
> Add `Wants` dependencies to a target for one or more units.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#add-wants%20TARGET%0A%20%20%20%20%20%20%20%20%20%20UNIT%E2%80%A6>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#add-wants%20TARGET%20UNIT%E2%80%A6>.
- Add a `Wants` dependency from a target to a unit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemctl bind
> Ephemerally bind-mount a file or directory from the host into a unit's mount namespace.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#%0A%20%20%20%20%20%20%20%20%20%20%20%20bind%0A%20%20%20%20%20%20%20%20%20%20%20%20UNIT%0A%20%20%20%20%20%20%20%20%20%20%20%20PATH%0A%20%20%20%20%20%20%20%20%20%20%20%20%5BPATH%5D%0A%20%20%20%20%20%20%20%20%20%20>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#bind%20UNIT%20PATH%20%5BPATH%5D>.
- Bind-mount a host path into the same location inside the unit:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Import environment variables from the shell into systemd's environment.
> See also: `systemctl show-environment`, `systemctl unset-environment`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#%0A%20%20%20%20%20%20%20%20%20%20%20%20import-environment%0A%20%20%20%20%20%20%20%20%20%20%20%20VARIABLE%E2%80%A6%0A%20%20%20%20%20%20%20%20%20%20>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#import-environment%20VARIABLE%E2%80%A6>.
- Import a variable:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show a unit's dependency tree in systemd.
> See also: `systemctl list-units` to list loaded units.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#%0A%20%20%20%20%20%20%20%20%20%20%20%20list-dependencies%0A%20%20%20%20%20%20%20%20%20%20%20%20UNIT...%0A%20%20%20%20%20%20%20%20%20%20>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-dependencies%20UNIT%E2%80%A6>.
- Show the dependency tree of `default.target`:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Mount an image file into a unit's mount namespace.
> Only supported for the units that run within a mountspace ie, with `RootImage=`, `PrivateMounts=`, etc.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#%0A%20%20%20%20%20%20%20%20%20%20%20%20mount-image%0A%20%20%20%20%20%20%20%20%20%20%20%20UNIT%0A%20%20%20%20%20%20%20%20%20%20%20%20IMAGE%0A%20%20%20%20%20%20%20%20%20%20%20%20%5BPATH%0A%20%20%20%20%20%20%20%20%20%20%20%20%5BPARTITION_NAME:MOUNT_OPTIONS%5D%5D%0A%20%20%20%20%20%20%20%20%20%20>.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#mount-image%20UNIT%20IMAGE%20%5BPATH%20%5BPARTITION_NAME:MOUNT_OPTIONS%5D%5D>.
- Mount an image at a specific path inside the unit's mount namespace: