I stopped using the Unix process ctr + z. Then I tried to kill the process and did not work. A friend from school was recommended to use the kill -9 process_id. What is the magic combination?
1 Answer
Just follow normal kill by a resume (SIGCONT or in shell, fg
the job).
The signal will only be received after the process is resumed (it cannot receive the signal because... you suspended it :))
So,
kill -CONT $pid
to resume it if you no longer have access to the terminal or shell controlling the job
kill -9 process_id
is quite a poor practice.