Bash: How do I make sub-processes of a script be terminated, when the script is terminated? Bash: How do I make sub-processes of a script be terminated, when the script is terminated? bash bash