mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 13:42:11 +01:00
Trivial whitespace changes to pgrep
cheatsheet.
This commit is contained in:
parent
921db35400
commit
aa57371819
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
# Get a list of PIDs matching the pattern
|
||||
pgrep example
|
||||
|
||||
# Kill all PIDs matching the pattern
|
||||
pgrep -f example | xargs kill
|
||||
pgrep -f example | xargs kill
|
||||
|
|
Loading…
Reference in a new issue