11 · The Command Line

Process / Kill

A running program, and stopping it

A process is a running program. Unix signals ask a process to stop, reload, or take another action; `kill` sends a signal and does not always force immediate termination. Use stronger signals only when a normal stop fails.

Concrete example

Try the program’s normal shutdown or SIGTERM before SIGKILL, which prevents cleanup.