Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-10 00:18:18 +00:00
parent fbe9a1abf2
commit d2ae2c7f65
19 changed files with 103 additions and 34 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# eject
> Eject cds, floppy disks and tape drives.
> Eject CDs, floppy disks, tape drives, and USB sticks.
> More information: <https://manned.org/eject>.
- Display the default device:

View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl freeze
> Freeze one or more units.
> Frozen units can be resumed with `systemctl thaw`.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#freeze%20PATTERN%E2%80%A6>.
- Freeze a specific unit:
`systemctl freeze {{unit}}`
- Freeze multiple units:
`systemctl freeze {{unit1 unit2 ...}}`
- Freeze all running units:
`systemctl freeze '*'`

View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl suspend
> Suspend the system.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#suspend>.
- Suspend the system immediately:
`systemctl suspend`
- Schedule a suspend after a 5 minute delay:
`sleep 300 && systemctl suspend`
- Suspend the system and then hibernate after a delay:
`systemctl hybrid-sleep`

22
tldr/linux/systemctl-thaw Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl thaw
> Thaw (resume) one or more frozen units.
> Units can be frozen with `systemctl freeze`.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#thaw%20PATTERN%E2%80%A6>.
- Thaw a specific unit:
`systemctl thaw {{unit}}`
- Thaw multiple units:
`systemctl thaw {{unit1 unit2 ...}}`
- Thaw all currently frozen units:
`systemctl thaw '*'`