pkill

pkill (see pgrep) is a command-line utility initially written for use with the Solaris 7 operating system. 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. The pkill command allows the use of extended regular expression patterns and other matching criteria.

Example usage

Kill the most recently created acroread process:

pkill -n acroread

Send a USR1 signal to acroread process:

pkill -USR1 acroread

See also

Some other unix commands related to process management and killing include:

References

External links

This article is issued from Wikipedia - version of the 10/25/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.