Jump to content

pkill

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 15.211.201.87 (talk) at 00:13, 6 November 2015 (consistent links within article). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

References