mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
Add page: psgrep (#2609)
This commit is contained in:
parent
88bccae363
commit
6f9d6a976e
1 changed files with 15 additions and 0 deletions
15
pages/common/psgrep.md
Normal file
15
pages/common/psgrep.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# psgrep
|
||||||
|
|
||||||
|
> Search through processes with grep.
|
||||||
|
|
||||||
|
- Find process lines containing a specific string:
|
||||||
|
|
||||||
|
`psgrep {{process_name}}`
|
||||||
|
|
||||||
|
- Find process lines containing a specific string, do not include headers:
|
||||||
|
|
||||||
|
`psgrep -n {{process_name}}`
|
||||||
|
|
||||||
|
- Search using simplified format (PID, user, command):
|
||||||
|
|
||||||
|
`psgrep -s {{process_name}}`
|
Loading…
Add table
Reference in a new issue