Exit a bash script if an error occurs in it or any of the background jobs it creates
26967
How to wait in bash for several subprocesses to finish and return exit code !=0 when any subprocess ends with code !=0?
23426
I want to terminate a python script if it doesn’t output anything to the terminal in 2 min
77732
What exactly determines if a backgrounded job is killed when the shell is exited, or killed?
18089
Kill backgrounded SSH when shell exits
144952
How to make sure only one instance of a bash script runs?
103844
Bash: wait for a fix number of process
12795
Getting "ensure" / "finally" functionality in a shell command (not script)?
22156
How do I tell if a regular file does not exist in Bash?
53110
Is there a way to write a Bash function which aborts the whole execution, no matter how it is called?
140989
How to suppress exit code of finished background jobs
157283
How to keep Bash running after command execution?
14897
How can I validate exits and aborts in RSpec?
141045
Linux Script to check if process is running and act on the result
54531
How to terminate a background process?
24645
Automatically restart a Unix job if it goes down?
70866
Check command success in bash
5575
How can I run a command which will survive terminal close?