⌘K
killall
all
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 info →Options (2)
-l, --listbooleanList available signal names (to be used without the `SIG` prefix)
Example:
killall {{[-l|--list]}}-i, --interactivebooleanInteractively ask for confirmation before termination
Example:
killall {{[-i|--interactive]}} {{process_name}}Examples (5)
Terminate a process using the default SIGTERM (terminate) signal
killall process_nameList available signal names (to be used without the `SIG` prefix)
killall [-l|--list]Interactively ask for confirmation before termination
killall [-i|--interactive] process_nameTerminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `<Ctrl c>`
killall -INT process_nameForce kill a process
killall -KILL process_namemade by @shridhargupta | data from tldr-pages