Linux Pkill

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

Linux pkill

The pkill command uses name of the process instead of PID number. Signal can be send to a process either by typing full name or partial name.

While specifying partial name, the specified name should be within first 15 characters of the process name.

Example:

pkill -2 sample

With above example, signal will be sent to all the process which has sample in its name.