Merge branch 'pgrep' of git://github.com/shigemk2/cheat into shigemk2-pgrep

This commit is contained in:
Chris Lane committed 2017-09-04 20:00:38 -04:00
commit 921db35400
1 file changed
+4
+4
View File
@@ -0,0 +1,4 @@
# Get a list of PIDs matching the pattern
pgrep example
# Kill all PIDs matching the pattern
pgrep -f example | xargs kill