Killing process stuck in background
It is common that some unix processes get stuck and doesn't respond to Ctrl-C. You have to search it's PID then by ps -ef | grep ... and then pass that value to kill command.
There is a shorter method to send SIGKILL to such process. Just put it in the background by Ctrl-Z and then:
kill -9 %1
should kill it.
Written by Piotr Jagielski
Related protips
1 Response

Great tip ! I've been in this situation several times ;)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#