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) 1 2