Kill a process by name
The killall command kills a process based on its name rather than its PID number. For instance, in our previos example we could run the killall -s 9 dd command which would kill all the processes named dd:
The killall command kills a process based on its name rather than its PID number. For instance, in our previos example we could run the killall -s 9 dd command which would kill all the processes named dd: