I can easily start 3 processes on 3 different terminals, and kill each one by pressing Ctrl+C. Now, is there any way to start all 3 processes at once, and then finish them equally easily? Ideas:
If I could start 3 processes in such a way that they would run on the same terminal, and Ctrl+C would kill all 3, that would work.
If I could create two scripts,
init.sh
andkill.sh
that would start/kill the 3 processes, that would work too.
Both of those work because they are easy. Having to spawn a process on the background, then finding its pid, then copying it, then killing it with yet another command isn't easy.
tmux(1)
orscreen(1)
:)