Interview Prep/Linux/Processes, Signals & systemd

What are signals? Name the important ones.

BeginnerConceptProcesses, Signals & systemd
Answer

Signals are asynchronous notifications sent to a process.

Signal Num Default use
SIGHUP 1 terminal hangup; many daemons reload config
SIGINT 2 Ctrl+C
SIGKILL 9 kill, cannot be caught
SIGTERM 15 polite termination (default of kill)
SIGSTOP 19 pause, cannot be caught
SIGCONT 18 resume
SIGUSR1/2 10/12 app-defined (e.g. log reopen)
All Linux questions Roadmap: Linux

More on Processes, Signals & systemd