Professional Documents
Culture Documents
What is Meant by Batch Command in Linux
What is Meant by Batch Command in Linux
average is low. Instead of executing immediately, it queues commands and runs them when the
load average drops below a threshold (typically 1.5).
Usage:
Bash
batch
command1
command2
...
Ctrl+D
Example:
Bash
batch
tar -czf backup.tar.gz /home/user/documents
echo "Backup completed" | mail -s "Backup Report" user@example.com
Key points: