Add f option
This commit is contained in:
1 parent
1f3f9828c3
commit
2d59026b0d
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user