mirror of
https://github.com/cheat/cheat.git
synced 2026-05-28 03:58:44 +02:00
Add pgrep cheatsheat
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Get a list of PIDs matching the pattern
|
||||
pgrep example
|
||||
# Kill all PIDs matching the pattern
|
||||
pgrep example | xargs kill
|
||||
Reference in New Issue
Block a user