Killall command
From NetworkStuff
A CLI command available on Linux platforms; used to kill (or end) one or more processes specified by command name, user name or regular expression.
Contents |
Usage Syntax
kill [options] (command_name | reg_exp | user_name)
Common options include;
- -I - ignore command_name case, case insensitive matching
- -i - interactive mode, requires confirmation before killing processes
- -q - quite mode
- -r reg_exp - kill processes matching the following extended regular expression
- -u user_name - kill processes the specified user owns
- -v - verbose output
Usage Examples
killall firefox - kill all processes running the firefox command
killall -I FireFox - kill all processes running the firefox command, ignoring character case
killall -Iiv FireFox- kill all processes running the firefox command, ignoring character case; require confirmation before doing so and provide verbose output
Typical Output
[test@nstuffbox ~]$ killall -ivu sshd Kill sshd(32255) ? (y/N) y
Related Files
The killall executable is normally found here: /usr/bin/killall
Related Commands
Use the kill command to kill individual processes based on Process IDentifier (PID.) Use the ps command to find the PID of a process.
Command Alternatives
The pkill command provides equivalent functions.
Related Articles
Information on other Linux commands
Information on Cisco commands
Information on Vyatta commands
Information on Extreme commands
Information on F5 BigIP commands
Information on Zebra commands
Information on Secure Platform commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands





