1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/common/killall.md
2025-03-17 23:17:57 +02:00

748 B

killall

Send kill signal to all instances of a process by name (must be exact name). All signals except SIGKILL and SIGSTOP can be intercepted by the process, allowing a clean exit. More information: https://manned.org/killall.

  • Terminate a process using the default SIGTERM (terminate) signal:

killall {{process_name}}

  • List available signal names (to be used without the 'SIG' prefix):

killall {{[-l|--list]}}

  • Interactively ask for confirmation before termination:

killall {{[-i|--interactive]}} {{process_name}}

  • Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing <Ctrl c>:

killall -INT {{process_name}}

  • Force kill a process:

killall -KILL {{process_name}}