cmdxray / commands / killall

What does killall do?

kill all processes matching a given name.

▸ Explain your own killall command →

killall examples, explained

$ killall firefox

  • killallkill all processes matching a given name
  • firefoxan argument passed to the command

$ killall -9 node

  • killallkill all processes matching a given name
  • -9SIGKILL — force the matching processes to stop immediately
  • nodean argument passed to the command

$ killall -u alice

  • killallkill all processes matching a given name
  • -ukill only processes owned by the given user
  • alicevalue for -u

killall flags & options

-9SIGKILL — force the matching processes to stop immediately
-iask for confirmation before killing each process
-ukill only processes owned by the given user
-vreport whether each signal was sent successfully
-wwait for the killed processes to actually die
-erequire an exact match for long process names
-Imatch the process name case-insensitively
-gkill the process group instead of the process
-ssend the named signal instead of SIGTERM

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.