ps: clarify grep example (#12650)
* Update ps.md * Update pages/common/ps.md Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update ps.md * Update ps.md * Update pages/common/ps.md --------- Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
|
||||
`ps auxww`
|
||||
|
||||
- Search for a process that matches a string:
|
||||
- Search for a process that matches a string (the brackets will prevent `grep` from matching itself):
|
||||
|
||||
`ps aux | grep {{string}}`
|
||||
`ps aux | grep {{[s]tring}}`
|
||||
|
||||
- List all processes of the current user in extra full format:
|
||||
|
||||
|
Reference in New Issue
Block a user