Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 404 Bytes

kill-multiple-processes-at-once.md

File metadata and controls

9 lines (6 loc) · 404 Bytes

Kill multiple processes at once

Using pgrep it's possible to kill multiple processes at once. Passing the PIDs via xargs to kill is even better.

pgrep docker | xargs kill -9

  • Source(s)