Add f option

This commit is contained in:
shigemk2 committed 2017-06-10 01:43:11 +09:00
1 parent 1f3f9828c3
commit 2d59026b0d
1 file changed
+1 -1
+1 -1
View File
@@ -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