What does Pkill do in Linux?
Herein, how use Pkill command in Linux?
Instead of going through all of that, you can simply use the pkill command if you already know the process name or part of it. If you want to see what process names are matched before using the pkill command, you can use the pgrep command. Passing the -l switch tells pgrep to show the process name as well.
Similarly, it is asked, what does Pkill mean?
pkill (see pgrep) is a command-line utility initially written for use with the Solaris 7 operating system in 1998. It has since been reimplemented for Linux and some BSDs. As with the kill and killall commands, pkill is used to send signals to processes.
There is no major difference between these two commands. Kill will terminate the process with PID whereas pkill will send the signal to the respective process based on its name.