^\ is actually sigquit, which is a bit different from sigkill, since programs can catch QUIT and perform some cleanup.
And since we're on this topic: if I write a for loop in bash that runs a slow command 1000 times (ImageMagick comes to mind), and I realise something has gone wrong, is there an easy way of breaking the outer loop?
How? Do you have a keyboard where | isn't Shift+\?
https://en.m.wikipedia.org/wiki/File:Keyboard_Layout_Norwegi...
If it's part of a script, your script probably wants to trap SIGINT.
^Z
fg
^C
the ^Z kills the loop, the fg and ^C cleans up the currently running one.