[pappy@chmodx]:$ man pkill

$ pkill

Signal processes based on name and other attributes

DOCUMENTEDProcessesUbuntu 24.04 LTS baseline
Use care. This command sends signals to every process matching its selection criteria. Verify the match before using a terminating signal.

Synopsis

pkill [options] pattern

What it does

Examples

Send SIGTERM to matching processes
pkill nginx
Send SIGKILL to matching processes
pkill -KILL nginx

Important details

These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration. For exact option semantics, the linked authoritative documentation is the source of truth.