Update cheatsheets

This commit is contained in:
ivuorinen
2024-12-15 00:20:51 +00:00
parent 986d658347
commit 02b81d951e
4 changed files with 83 additions and 10 deletions

View File

@@ -5,8 +5,19 @@ source: https://github.com/tldr-pages/tldr.git
---
# batch
> This command is an alias of `at`.
> Execute commands at a later time when the system load levels permit.
> Results will be sent to the user's mail.
> See also: `at`, `atq`, `atrm` `mail`.
> More information: <https://manned.org/batch>.
- View documentation for the original command:
- Start the `atd` daemon:
`tldr at`
`systemctl start atd`
- Execute commands from `stdin` (press `Ctrl + D` when done):
`batch`
- Execute a command from `stdin`:
`echo "{{./make_db_backup.sh}}" | batch`