mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 18:56:54 +00:00
Update cheatsheets
This commit is contained in:
21
psgrep
Normal file
21
psgrep
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# psgrep
|
||||
|
||||
> Search running processes with `grep`.
|
||||
> More information: <https://jvz.github.io/psgrep>.
|
||||
|
||||
- Find process lines containing a specific string:
|
||||
|
||||
`psgrep {{process_name}}`
|
||||
|
||||
- Find process lines containing a specific string, excluding headers:
|
||||
|
||||
`psgrep -n {{process_name}}`
|
||||
|
||||
- Search using a simplified format (PID, user, command):
|
||||
|
||||
`psgrep -s {{process_name}}`
|
||||
Reference in New Issue
Block a user