Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-29 00:18:23 +00:00
parent a3692d638b
commit 75f807d6af
175 changed files with 1107 additions and 775 deletions

View File

@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- Show whether an alarm is set or not:
`sudo rtcwake -m show -v`
`sudo rtcwake {{[-m|--mode]}} show {{[-v|--verbose]}}`
- Suspend to RAM and wakeup after 10 seconds:
`sudo rtcwake -m mem -s {{10}}`
`sudo rtcwake {{[-m|--mode]}} mem {{[-s|--seconds]}} {{10}}`
- Suspend to disk (higher power saving) and wakeup 15 minutes later:
`sudo rtcwake -m disk --date +{{15}}min`
`sudo rtcwake {{[-m|--mode]}} disk --date +{{15}}min`
- Freeze the system (more efficient than suspend-to-RAM but version 3.9 or newer of the Linux kernel is required) and wakeup at a given date and time:
`sudo rtcwake -m freeze --date {{YYYYMMDDhhmm}}`
`sudo rtcwake {{[-m|--mode]}} freeze --date {{YYYYMMDDhhmm}}`
- Disable a previously set alarm:
`sudo rtcwake -m disable`
`sudo rtcwake {{[-m|--mode]}} disable`
- Perform a dry run to wakeup the computer at a given time. (Press `<Ctrl c>` to abort):
`sudo rtcwake -m on --date {{hh:ss}}`
`sudo rtcwake {{[-m|--mode]}} on --date {{hh:ss}}`