mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 09:48:07 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
22
tldr/linux/systemctl-freeze
Normal file
22
tldr/linux/systemctl-freeze
Normal 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 '*'`
|
||||
21
tldr/linux/systemctl-suspend
Normal file
21
tldr/linux/systemctl-suspend
Normal 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
22
tldr/linux/systemctl-thaw
Normal 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 '*'`
|
||||
Reference in New Issue
Block a user