In the bash terminal I can hit Control+Z to suspend any running process... then I can type fg
to resume the process.
Is it possible to suspend a process if I only have it's PID? And if so, what command should I use?
I'm looking for something like:
suspend-process $PID_OF_PROCESS
and then to resume it with
resume-process $PID_OF_PROCESS