1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 01:18:00 +01:00
tldr/pages/common/pkill.md

17 lines
339 B
Markdown
Raw Normal View History

2016-01-01 04:48:36 +01:00
# pkill
> Signal process by name.
> Mostly used for stopping processes.
2016-01-01 04:48:36 +01:00
- Kill all processes which match:
2016-01-01 04:48:36 +01:00
`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:
2016-01-01 04:48:36 +01:00
`pkill -USR1 {{process_name}}`