diff options
author | Tim Ledbetter <timledbetter@gmail.com> | 2023-05-30 17:51:22 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-31 06:04:48 +0200 |
commit | cb6a2d60d3db5083f297fbf9fd33e4453b2c2ca4 (patch) | |
tree | 47ecacb07795c4609a0fb906ad227b40460a9159 /Base/usr/share/man | |
parent | ad851706ab434abf1cccd94955d919747f86a987 (diff) | |
download | serenity-cb6a2d60d3db5083f297fbf9fd33e4453b2c2ca4.zip |
pgrep: Add `-l` option to list the process name as well as its pid
Diffstat (limited to 'Base/usr/share/man')
-rw-r--r-- | Base/usr/share/man/man1/pgrep.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Base/usr/share/man/man1/pgrep.md b/Base/usr/share/man/man1/pgrep.md index 23a8d41403..8a95eef471 100644 --- a/Base/usr/share/man/man1/pgrep.md +++ b/Base/usr/share/man/man1/pgrep.md @@ -5,7 +5,7 @@ pgrep - look up processes based on name ## Synopsis ```sh -$ pgrep [--count] [-d delimiter] [--ignore-case] [--invert-match] <process-name> +$ pgrep [--count] [-d delimiter] [--ignore-case] [--list-name] [--invert-match] <process-name> ``` ## Options @@ -13,6 +13,7 @@ $ pgrep [--count] [-d delimiter] [--ignore-case] [--invert-match] <process-name> * `-c`, `--count`: Suppress normal output and print the number of matching processes * `-d`, `--delimiter`: Set the string used to delimit multiple pids * `-i`, `--ignore-case`: Make matches case-insensitive +* `-l`, `--list-name`: List the process name in addition to its pid * `-v`, `--invert-match`: Select non-matching lines ## Arguments |