Linux killall command
Linux Command大全
Linux killall is used to kill a process, which is different from kill as it will kill all processes with the specified name.
The kill command kills the specified process PID, which needs to be used with ps, while killall directly operates on the process name, which is more convenient.
Syntax
killall [options] name
Parameter Description:
The options include the following parameters:
-
-e | --exact: The process needs to match the name exactly
-
-I | --ignore-case: Ignore case
-
-g | --process-group: End the process group
-
-i | --interactive: Ask before ending
-
-l | --list: List all signal names
-
-q | --quiet: Do not output any information if the process does not end
-
-r | --regexp: Interpret the process name pattern as an extended regular expression.
-
-s | --signal: Send the specified signal
-
-u | --user: End the process of the specified user
-
-v | --verbose: Display detailed execution process
-
-w | --wait: Wait for all processes to end
-
-V |--version: Display version information
-
--help: Display help information
Online Examples
Linux Command大全