you-dont-need / You-Dont-Need-GUI

Stop relying on GUI; CLI **ROCKS**
5.48k stars 235 forks source link

Fix " force quit a program" to send SIGKILL #49

Closed MasonM closed 3 years ago

MasonM commented 3 years ago

Running killall program_name sends a SIGTERM signal, which a program is free to ignore:

If no signal name is specified, SIGTERM is sent. https://man7.org/linux/man-pages/man1/killall.1.html

To send a SIGKILL signal, you need to use killall -9 or killall -KILL, which cannot be ignored.