mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
pkill: Allow signal names to be used with the -s
option
This commit is contained in:
parent
0d71db6721
commit
0621a83cb4
2 changed files with 23 additions and 3 deletions
|
@ -5,7 +5,7 @@ pkill - Signal processes based on name
|
|||
## Synopsis
|
||||
|
||||
```sh
|
||||
$ pkill [--count] [--ignore-case] [--echo] [--signal number] [--uid uid-list] [--exact] <process-name>
|
||||
$ pkill [--count] [--ignore-case] [--echo] [--signal signame] [--uid uid-list] [--exact] <process-name>
|
||||
```
|
||||
|
||||
## Options
|
||||
|
@ -13,7 +13,7 @@ $ pkill [--count] [--ignore-case] [--echo] [--signal number] [--uid uid-list] [-
|
|||
* `-c`, `--count`: Display the number of matching processes
|
||||
* `-i`, `--ignore-case`: Make matches case-insensitive
|
||||
* `-e`, `--echo`: Display what is killed
|
||||
* `-s number`, `--signal number`: Signal number to send
|
||||
* `-s signame`, `--signal signame`: Signal to send. The signal name or number may be used
|
||||
* `-U uid-list`, `--uid uid-list`: Select only processes whose UID is in the given comma-separated list. Login name or numerical user ID may be used
|
||||
* `-x`, `--exact`: Select only processes whose names match the given pattern exactly
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue