From a4ade5e1a3778682ae268f589cbb1a3e720f39bd Mon Sep 17 00:00:00 2001 From: Marco Bonelli Date: Tue, 8 Jan 2019 23:48:21 +0100 Subject: [PATCH] kill: add two examples for signaling multiple processes --- pages/common/kill.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/kill.md b/pages/common/kill.md index 1ecc32950..6367c6a90 100644 --- a/pages/common/kill.md +++ b/pages/common/kill.md @@ -26,3 +26,11 @@ - Signal the operating system to pause a program until a SIGCONT ("continue") signal is received: `kill -{{17|STOP}} {{process_id}}` + +- Send a signal to all processes with the given GID (group id): + +`kill -{{signal_name}} -{{group_id}}` + +- Kill every process that can be killed by the current user (except init and kill itself): + +`kill -9 -1`