From 02bc51283c87693a055cce14e3e42f546b2b774a Mon Sep 17 00:00:00 2001 From: Michael Skelton Date: Sun, 28 Jun 2020 17:50:47 +1000 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fdb32a5..ab4e1de 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Credit: @tomnomnom :!kill -9 $(find /proc -name "cmdline" 2>/dev/null | while read procfile; do if grep -Pa '^vim\x00' "$procfile" &>/dev/null; then echo $procfile; fi; done | awk -F'/' '{print $3}' | sort -u) ``` + ## The ps-less way using status files Credit: @hakluke @@ -33,6 +34,10 @@ Credit: @kpumuk :!grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9 ``` +## The first contact way +Credit: @caseyjohnellis +![Jeffrey Way](assets/first-contact-way.png) + ## The lazy pythonic using shell way Credit: @PozziSan