Linux OS Internals (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are the essential Linux Signals (`SIGTERM`, `SIGKILL`, `SIGINT`, `SIGHUP`)?
junior LevelMost AskedSignals
In Simple Words: Signals are asynchronous notifications sent to a process by the kernel or user:
SIGTERM (15): Graceful termination request. The process can catch it, close database connections, finish ongoing HTTP requests, and cleanly exit.SIGKILL (9): Forceful kill. Handled directly by the kernel; the process CANNOT catch, block, or ignore it! Instant termination.SIGINT (2): Interrupt sent from terminal viaCtrl+C.SIGHUP (1): Hangup. Sent when terminal closes; conventionally used by daemons (Nginx, Apache) to reload configuration files without restarting.