Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-14 00:23:46 +00:00
parent 489b2e0e99
commit af00816a7d
32 changed files with 60 additions and 100 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# installpkg
> Install a Slackware package.
> More information: <http://www.slackware.com/config/packages.php>.
> More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-PACKAGE-UTILITIES-INSTALLPKG>.
- Install a package:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# removepkg
> Remove a specified Slackware package.
> More information: <http://www.slackware.com/config/packages.php>.
> More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-PACKAGE-UTILITIES-REMOVEPKG>.
- Remove a package:

View File

@@ -15,15 +15,15 @@ source: https://github.com/tldr-pages/tldr.git
- Halt the system immediately without asking services to stop gracefully:
`systemctl halt --force`
`systemctl halt {{[-f|--force]}}`
- Halt the system immediately without sending notifications to logged-in users:
`systemctl halt --force --no-wall`
`systemctl halt {{[-f|--force]}} --no-wall`
- Halt the system immediately without terminating any processes or unmounting filesystems (dangerous, may cause data loss):
`systemctl halt --force --force`
`systemctl halt {{[-ff|--force --force]}}`
- Schedule a halt at a specific time (e.g., 23:00):

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Force hibernation even if inhibitors are present:
`systemctl hibernate --force`
`systemctl hibernate {{[-f|--force]}}`
- Hibernate the system without sending a message to logged-in users:

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Force hybrid sleep even if inhibitors are present:
`systemctl hybrid-sleep --force`
`systemctl hybrid-sleep {{[-f|--force]}}`
- Put the system into hybrid sleep without sending a wall message to logged-in users:

View File

@@ -15,8 +15,8 @@ source: https://github.com/tldr-pages/tldr.git
- Suppress output and return only the exit code:
`systemctl is-enabled {{unit}} --quiet`
`systemctl is-enabled {{unit}} {{[-q|--quiet]}}`
- Show installation targets and symlink paths:
`systemctl is-enabled {{unit}} --full`
`systemctl is-enabled {{unit}} {{[-l|--full]}}`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Check and print the current state quietly (no output, only exit status):
`systemctl is-system-running --quiet`
`systemctl is-system-running {{[-q|--quiet]}}`
- Wait until the boot process is completed before printing the current state:

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Show all path units, including inactive ones:
`systemctl list-paths --all`
`systemctl list-paths {{[-a|--all]}}`
- Filter path units by state:

View File

@@ -15,8 +15,8 @@ source: https://github.com/tldr-pages/tldr.git
- Power off the system immediately without asking services to stop gracefully:
`systemctl poweroff --force`
`systemctl poweroff {{[-f|--force]}}`
- Power off the system immediately without sending notifications to logged-in users:
`systemctl poweroff --force --no-wall`
`systemctl poweroff {{[-f|--force]}} --no-wall`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Force a soft reboot:
`systemctl soft-reboot --force`
`systemctl soft-reboot {{[-f|--force]}}`
- Schedule a soft reboot for a specific time:

View File

@@ -22,11 +22,11 @@ source: https://github.com/tldr-pages/tldr.git
- List all units in the system:
`systemctl status --all`
`systemctl status {{[-a|--all]}}`
- List all units of a specific type:
`systemctl status --type {{service|timer|socket|target|...}}`
`systemctl status {{[-t|--type]}} {{service|timer|socket|target|...}}`
- List all units with a specific state:

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- Force suspend-then-hibernate (bypass inhibitor locks):
`systemctl suspend-then-hibernate --force`
`systemctl suspend-then-hibernate {{[-f|--force]}}`

View File

@@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git
- Switch to a new root filesystem with verbose output:
`systemctl switch-root {{path/to/new_root}} --verbose`
`systemctl switch-root {{path/to/new_root}} {{[-v|--verbose]}}`