sharpapotheosis wrote:CTRL + z often works also, though I believe (correct me if I'm wrong) that it kills the process without killing any processes started by the original process.
No, Ctrl+Z (SIGTSTP) stops/suspends the foreground process group
without killing it. This allows you to type other commands and then continue the stopped job with "fg". Or, if it does not need to read input from the terminal then you can continue it in the background with "bg".
Suspending processes with Ctrl+Z without realising is a common mistake, which causes confusion and gradually wastes memory and other resources. Some programs intended for newcomers disable it to avoid this. For instance, in nano you have to press Alt+Z first to
enable Ctrl+Z.