Add f option
This commit is contained in:
parent
1f3f9828c3
commit
2d59026b0d
|
@ -1,4 +1,4 @@
|
|||
# Get a list of PIDs matching the pattern
|
||||
pgrep example
|
||||
# Kill all PIDs matching the pattern
|
||||
pgrep example | xargs kill
|
||||
pgrep -f example | xargs kill
|
Loading…
Reference in New Issue