SIGTERM vs SIGKILL?

BeginnerConceptLinux and shell
Answer

SIGTERM (15) asks the process to exit and can be caught for graceful shutdown. SIGKILL (9) is handled by the kernel, can't be caught, and ends the process immediately with no cleanup.

All Real-World Interview questions Roadmap: Interview readiness

More on Linux and shell