mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 12:57:09 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/batch
17
tldr/batch
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user