mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 12:35:24 +02:00
pkill: Add example with -f flag
Its useful to be able to kill processes by their full command. The pgrep tldr page already has a -f flag example.
This commit is contained in:
parent
8c897ea629
commit
017642dd9e
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
|||
|
||||
`pkill -9 {{process_name}}`
|
||||
|
||||
- Kill all processes which match their full command instead of just the process name:
|
||||
|
||||
`pkill -9 -f "{{command_name}}"`
|
||||
|
||||
- Send SIGUSR1 signal to processes which match:
|
||||
|
||||
`pkill -USR1 {{process_name}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue