maux
Star on GitHub Buy me a coffee

Manual / kill

kill(1)

KILL(1) General Commands Manual KILL(1)

kill - signal processes

kill [-signo | -s name] pid ...
kill -l

Signals the specified processes. Process numbers can be found by using ps(1). The default signal is TERM (15). A signal number preceded by - selects another signal; -s accepts a symbolic name, without regard to case.

The names are HUP (1), INT (2), QUIT (3), KILL (9) and TERM (15). The -l form lists these names. Signal 0 probes whether the process is alive without signalling it.

Normally a nonzero signal terminates its target. A process may ignore a signal or arrange to receive it at a safe point; the shell's trap command uses this facility. KILL cannot be caught or ignored. A successful send does not imply that a caught or ignored signal killed the process.

/usr/man/KILL this page

ps(1), sh(1), licenses(1)

Exit status is 0 if all operations succeed, 1 if any target cannot be signalled, 2 for usage errors.

This is a positive-PID interface, not Unix process-group signalling. Root-tier processes (init and the idle process) cannot be killed through this command. An interactive shell ignores TERM, as in V7 (see sh(1)); kill -9 kills the console shell, and init then starts a new one.

September 19, 2026 maux