mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 11:26:03 +02:00
Updating pgrep page
Added parameters for searching by user and searching by complete command with parameters
This commit is contained in:
parent
1701905cfa
commit
b5408a18d4
1 changed files with 8 additions and 0 deletions
|
@ -10,6 +10,14 @@
|
||||||
|
|
||||||
`pgrep -i {{fireFOx}}`
|
`pgrep -i {{fireFOx}}`
|
||||||
|
|
||||||
|
- search full command line with parameters instead of just the process name
|
||||||
|
|
||||||
|
`pgrep -f {{ssh root}}`
|
||||||
|
|
||||||
|
- search for process run by a specific user
|
||||||
|
|
||||||
|
`pgrep -u root {{firefox}}`
|
||||||
|
|
||||||
- kill all processes which match
|
- kill all processes which match
|
||||||
|
|
||||||
`pkill -9 {{Finder}}`
|
`pkill -9 {{Finder}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue