pkill
ProcessesFundamentals In real LinuxSignal processes by name
Name: pkill = process kill
This command needs a real Linux system; you can practise it in real Linux mode.
Description
pkill signals processes matched by name or other attributes, SIGTERM by default. It uses the same matching as pgrep, so check with pgrep first.
Syntax
pkill [OPTION]... PATTERNCommon options
| -9 | Force kill |
| -f / --full | Match the full command line |
| -x / --exact | The name must match exactly (spares similar names) |
| -u / --euid USER | Only a user's processes |
| -n / --newest | Only the newest one |
| -e / --echo | Show what was signalled |