Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-23 00:23:11 +00:00
parent 7a260c8cd2
commit b6a6d775f5
16 changed files with 125 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Show all peers on the bus by their service names:
`busctl list`
`busctl`
- Show process information and credentials of a bus service, a process, or the owner of the bus (if no parameter is specified):

View File

@@ -28,3 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
- Change a LUKS volume's passphrase:
`cryptsetup luksChangeKey {{/dev/sdXY}}`
- Display LUKS header information and key slot metadata of an encrypted device:
`cryptsetup luksDump {{/dev/sdXY}}`

View File

@@ -12,16 +12,24 @@ source: https://github.com/tldr-pages/tldr.git
- List all compatible displays:
`ddcutil detect`
`ddcutil {{[det|detect]}}`
- Change the brightness (option 0x10) of display 1 to 50%:
- Query the first compatible display for capabilities:
`ddcutil {{[-d|--display]}} {{1}} setvcp {{10}} {{50}}`
`ddcutil {{[cap|capabilities]}}`
- Increase the contrast (option 0x12) of display 1 by 5%:
- Change the brightness (option `10`) of display 1 to 50%:
`ddcutil {{[-d|--display]}} {{1}} setvcp {{12}} {{+}} {{5}}`
`ddcutil {{[-d|--display]}} 1 {{[set|setvcp]}} 10 50`
- Increase the contrast (option `12`) of display 1 by 5%:
`ddcutil {{[-d|--display]}} 1 {{[set|setvcp]}} 12 + 5`
- Change the display source (option `60`) of a display:
`ddcutil {{[-d|--display]}} {{1}} {{[set|setvcp]}} 60 0x{{0f}}`
- Read the settings of display 1:
`ddcutil {{[-d|--display]}} {{1}} getvcp {{ALL}}`
`ddcutil {{[-d|--display]}} 1 {{[get|getvcp]}} ALL`

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- List existing links with their status:
`networkctl list`
`networkctl`
- Show an overall network status:

View File

@@ -10,4 +10,4 @@ source: https://github.com/tldr-pages/tldr.git
- Show the current state of the cgroups and system contexts stored by `systemd-oomd`:
`oomctl dump`
`oomctl`

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- List available power profiles:
`powerprofilesctl list`
`powerprofilesctl`
- Set a specific power profile:

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Update the binary hardware database in `/etc/udev`:
`systemd-hwdb update`
`sudo systemd-hwdb update`
- Query the hardware database and print the result for a specific modalias:
@@ -18,11 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
- Update the binary hardware database, returning a non-zero exit value on any parsing error:
`systemd-hwdb {{[-s|--strict]}} update`
`sudo systemd-hwdb {{[-s|--strict]}} update`
- Update the binary hardware database in `/usr/lib/udev`:
`systemd-hwdb --usr update`
`sudo systemd-hwdb --usr update`
- Update the binary hardware database in the specified root path:

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- List all active inhibition locks and the reasons for their creation:
`systemd-inhibit --list`
`systemd-inhibit`
- Block system shutdown for a specified number of seconds with the `sleep` command:

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Check the current merge status:
`systemd-sysext status`
`systemd-sysext`
- Unmerge all currently installed system extension images from `/usr/` and `/opt/`:

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Show update targets:
`updatectl list`
`updatectl`
- Show data about a target and its versions:

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- List all known user records:
`userdbctl user`
`userdbctl`
- Show details of a specific user: