killall: command not found

We’ll be looking at how to install the Linux command killall in this article.

Killall send’s a signal to, if not explicitly specified, terminate all the processes with the given name.

CentOS used to ship with killall out of the box but since version 7 it’s been left out.

[[email protected] root]# which killall
/usr/bin/which: no killall in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)

To install, issue the following command at the terminal:

yum install psmisc

To install killall on Ubuntu

sudo apt-get install psmisc