Signals
In the terminalela --spec signals
Each part of what a signal does is said in one place:
- Sending one to a job or a process,
kill $job TERMorkill pid(4242): kill. - Handling one with a
catch signalblock, in place of Bash'strap, and what a signal no block covers does: catch signal. - What the jobs get when a signal ends the script or leaves a proc: Who waits. A job is in a process group of its own, so Ctrl-C at the terminal reaches the script and not its jobs.