killall

Send kill signal to all instances of a process by name (must be exact name). All signals except SIGKILL and SIGSTOP can be intercepted by the process, allowing a clean exit. More information: <https://manned.org/killall>.

Debian Debian
RUN apt-get update && \ apt-get install -y psmisc
Ubuntu
RUN apt-get update && \ apt-get install -y psmisc
Alpine
RUN apk add psmisc
Arch Arch Linux
RUN pacman -S --noconfirm psmisc
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y psmisc
CentOS
RUN yum install -y psmisc
Fedora
RUN dnf install -y psmisc
Raspbian
RUN apt-get update && \ apt-get install -y psmisc
click the source code to copy install killall on any operating system with command-not-found.com