mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 22:55:31 +02:00
killall: add page (#1317)
This commit is contained in:
parent
9059d62b22
commit
8dbc49c36b
1 changed files with 24 additions and 0 deletions
24
pages/common/killall.md
Normal file
24
pages/common/killall.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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.
|
||||
|
||||
- Terminate a process using the default SIGTERM (terminate) signal:
|
||||
|
||||
`killall {{process_name}}`
|
||||
|
||||
- List available signal names (to be used without the 'SIG' prefix):
|
||||
|
||||
`killall --list`
|
||||
|
||||
- Interactively ask for confirmation before termination:
|
||||
|
||||
`killall -i {{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}}`
|
Loading…
Add table
Reference in a new issue