I know that inside a terminal, Ctrl+C keyboard shortcut will send a SIGINT
signal to the current foreground process. Is there a way to setup a keyboard shortcut for sending SIGTERM
or even SIGKILL
to the current process? I think it could save me some time.
I'm running Ubuntu 11.04
Best Answer
stty is responsible for controlling this, you may already have one setup. You can check by doing:
The last few lines should look familiar, ^C=intr is the one you mentioned in your question. You can read how to set more via: