It's doing it's best okay!

Linux:

  • -2 SIGINT - Please stop

  • -3 SIGQUIT - c'mon, the user says stop

  • -15 SIGTERM - Now really, you've been told to so terminate.

  • -9 SIGKILL - DIE

SIGQUIT is the dump core signal. The terminal sends it to the foreground process when the user presses ctrl-. The default behavior is to terminate the process and dump core, but it can be caught or ignored. The intention is to provide a mechanism for the user to abort the process. You can look at SIGINT as "user-initiated happy termination" and SIGQUIT as "user-initiated unhappy termination."

SIGTERM is the termination signal. The default behavior is to terminate the process, but it also can be caught or ignored. The intention is to kill the process, gracefully or not, but to first allow it a chance to cleanup.

SIGKILL is the kill signal. The only behavior is to kill the process, immediately. As the process cannot catch the signal, it cannot cleanup, and thus this is a signal of last resort.

SIGSTOP is the pause signal. The only behavior is to pause the process; the signal cannot be caught or ignored. The shell uses pausing (and its counterpart, resuming via SIGCONT) to implement job control.

/r/pcmasterrace Thread Parent Link - i.redd.it