pkill
Appearance
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
- List of Unix programs
- kill(1)
- nice(1)
- skill(1), a command-line utility to send signals or report process status, pkill is favoured over it
- top(1)
- htop(1)
References
- Solaris 11.4 User Commands Reference Manual –
- Linux User Commands Manual : look up processes based on name and other attributes –