From c707bf31a6392fcee25baa0d1bcf81aaca0737d6 Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 18 Jun 2021 13:44:06 +0200 Subject: [PATCH] typos --- falsefriends.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/falsefriends.md b/falsefriends.md index c0232a4..54e3035 100644 --- a/falsefriends.md +++ b/falsefriends.md @@ -8,7 +8,7 @@ an empty string in `$PATH` is equivalent to `.`, so prepending `:` to your PATH, killall -1 -- -in `killall` the parameter `-1` is - differnently to `kill` NOT interpreted as signal, but is a special variable for "applies to everything except PID1 and self". Therefore no signal is given, and the default one (15, SIGTERM) will be applied to each and every PID (but is then usually reduced again to the searchterm given). So `killall -1 java` does in pseudocode effectively: `where name is java; do [ ! PID == 1 ] && kill -s 15 $name; done` ...very dangerous +in `killall` the parameter `-1` is - differently to `kill` - NOT interpreted as signal, but is a special variable for "applies to everything except PID1 and self". Therefore no signal is given, and the default one (15, SIGTERM) will be applied to each and every PID (but is then usually reduced again to the searchterm given). So `killall -1 java` does in pseudocode effectively: `where name is java; do [ ! PID == 1 ] && kill -s 15 $name; done` ...very dangerous grep -irl --