Linux Command - killall
killall - Send kill signal to all instances of a process by name (must be exact name)
Syntax
1 | killall [OPTION] name... |
Options
| Option | Description |
|---|---|
| -i | interactively ask for confirmation before killing |
| -s | send this signal instead of SIGTERM |
| -u user | kill only processes the specified user owns. |
| -v | verbose mode |
Examples
kill firefox process
1 | killall firefox |
kill firefox process with prompt
1 | killall -i firefox |
kill firefox with INT signal
1 | killall -s INT firefox |
kill firefox with KILL signal
1 | killall -s KILL firefox |
List signals
1 | killall -l |