1
0
Эх сурвалжийг харах

pgrep: remove pkill example and correct tokens

Katy Moe 9 жил өмнө
parent
commit
ce9b0e1059
1 өөрчлөгдсөн 3 нэмэгдсэн , 7 устгасан
  1. 3 7
      pages/common/pgrep.md

+ 3 - 7
pages/common/pgrep.md

@@ -4,16 +4,12 @@
 
 - return PIDs of any running processes with a matching command string
 
-`pgrep {{Finder}}`
+`pgrep {{process_name}}`
 
 - search full command line with parameters instead of just the process name
 
-`pgrep -f "{{ssh root}}"`
+`pgrep -f "{{process_name}} {{parameter}}"`
 
 - search for process run by a specific user
 
-`pgrep -u root {{firefox}}`
-
-- kill all processes which match
-
-`pkill -9 {{Finder}}`
+`pgrep -u root {{process_name}}`