mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 18:02:08 +02:00

* as suggested in #10428 * standard input => `stdin` * standard output => `stdout` * standard error => `stderr` Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
17 lines
415 B
Markdown
17 lines
415 B
Markdown
# batch
|
|
|
|
> Execute commands at a later time when the system load levels permit.
|
|
> Service atd (or atrun) should be running for the actual executions.
|
|
> More information: <https://manned.org/batch>.
|
|
|
|
- Execute commands from `stdin` (press `Ctrl + D` when done):
|
|
|
|
`batch`
|
|
|
|
- Execute a command from `stdin`:
|
|
|
|
`echo "{{./make_db_backup.sh}}" | batch`
|
|
|
|
- Execute commands from a given file:
|
|
|
|
`batch -f {{path/to/file}}`
|