Frequent Question: What Does Pkill Do in Linux?
Contents Pkill Is a Command-Line Utility That Sends Signals to the Processes of a Running Program Based on Given Criteria. the Processes Can Be Specified by...
pkill is a command-line utility that sends signals to the processes of a running program based on given criteria. The processes can be specified by their full or partial names, a user running the process, or other attributes.
What is pkill command used for?
As with the kill and killall commands, pkill is used to send signals to processes. The pkill command allows the use of extended regular expression patterns and other matching criteria.
What signal does pkill?
Terminate the process. When no signal is included in the pkill command-line syntax, the default signal that is used is –15 (SIGTERM). Using the –9 signal (SIGKILL) with the pkill command ensures that the process terminates promptly.