I want to run a few commands, each of which doesn\'t quit until Ctrl-C is pressed. Is there something I can run to run all of them at once, and Ctrl-C will quit them all? Th
Use GNU Parallel:
(echo command1; echo command2) | parallel parallel ::: command1 command2
To kill:
parallel ::: command1 command2 & PID=$! kill -TERM $PID kill -TERM $PID