Easy Tutorial
❮ Linux Comm Mshowfat Linux Comm Unzip ❯

Linux killall Command

Linux Command Manual

The Linux killall command is used to kill a process, unlike the kill command which kills processes by their PID, killall kills all processes with a specified name.

The kill command requires the use of ps to identify the PID of the process to be killed, while killall operates directly on the process name, making it more convenient.

Syntax

killall [options] name

Parameter Description:

Example

# killall -9 php-fpm // Terminate all php-fpm processes

Linux Command Manual

❮ Linux Comm Mshowfat Linux Comm Unzip ❯