Add pgrep cheatsheat

This commit is contained in:
shigemk2 2017-05-15 23:14:30 +09:00
parent edd7b5e806
commit 1f3f9828c3

4
cheat/cheatsheets/pgrep Normal file
View File

@ -0,0 +1,4 @@
# Get a list of PIDs matching the pattern
pgrep example
# Kill all PIDs matching the pattern
pgrep example | xargs kill