Ravi Sir's Cards › AWS
kill vs pkill
This comparison card contrasts kill and pkill. kill: One PID you know. pkill is described as processes matching a pattern. The card pairs kill with single process, and pkill with groups of workers.
Read card text
What this card says
Target
kill
One PID you know.
pkill
Processes matching a pattern.
Key points
Exact and safe.
Fast but can hit too many.
Example
kill 7710
Use when
Single process.
Groups of workers.