From 356e95ce7954d5845edfab4e461466329503f066 Mon Sep 17 00:00:00 2001 From: Brian Choromanski Date: Wed, 20 Oct 2021 17:06:52 -0400 Subject: [PATCH] pkill: enhance -9 argument explanation (#7036) --- pages/common/pkill.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/common/pkill.md b/pages/common/pkill.md index aeff3ca6e..175a464c9 100644 --- a/pages/common/pkill.md +++ b/pages/common/pkill.md @@ -6,11 +6,15 @@ - Kill all processes which match: -`pkill -9 "{{process_name}}"` +`pkill "{{process_name}}"` - Kill all processes which match their full command instead of just the process name: -`pkill -9 --full "{{command_name}}"` +`pkill -f "{{command_name}}"` + +- Force kill matching processes (can't be blocked): + +`pkill -9 "{{process_name}}"` - Send SIGUSR1 signal to processes which match: