You've got a few easy options:
- Send
SIGQUIT
(that'sctrl-\
in your terminal). Most processes don't bother catchingSIGQUIT
, so it's one strategy to deal with something that has a less-than-awesomeSIGINT
(akactrl-c
) handler. ctrl-z
+kill -9 %1
- aka, the nuclear option. Even more rare than catchingSIGQUIT
is catchingSIGTSTP
. That's what your shell uses to do job control. In this case you're suspending the job and then sending itSIGKILL
, which it cannot catch.
N.b. that the %1
above is a bash-ism and it assumes this is the only job running.