From a552f052d1bccf538681fba5fa9e19b7768d0ab1 Mon Sep 17 00:00:00 2001 From: Amaury Souza Date: Fri, 11 Oct 2019 22:12:09 -0300 Subject: [PATCH 1/2] Update bash.sh --- languages/bash.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/languages/bash.sh b/languages/bash.sh index 866968b..64d6420 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -359,6 +359,8 @@ fg %?string # brings job whose command contains string kill -l # returns a list of all signals on the system, by name and number kill PID # terminates process with specified PID +kill -s SIGKILL 4500 # sends a signal to force or terminate the process +kill -15 913 # Ending PID 913 process with signal 15 (TERM) ps # prints a line of information about the current running login shell and any processes running under it ps -a # selects all processes with a tty except session leaders From 03581585cfef3bf872dba009b8885278226c9bf8 Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Sat, 12 Oct 2019 12:42:32 +0200 Subject: [PATCH 2/2] docs(bash): align comments --- languages/bash.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/languages/bash.sh b/languages/bash.sh index 64d6420..0fe147c 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -357,10 +357,10 @@ fg %N # brings job number N fg %string # brings job whose command begins with string fg %?string # brings job whose command contains string -kill -l # returns a list of all signals on the system, by name and number -kill PID # terminates process with specified PID -kill -s SIGKILL 4500 # sends a signal to force or terminate the process -kill -15 913 # Ending PID 913 process with signal 15 (TERM) +kill -l # returns a list of all signals on the system, by name and number +kill PID # terminates process with specified PID +kill -s SIGKILL 4500 # sends a signal to force or terminate the process +kill -15 913 # Ending PID 913 process with signal 15 (TERM) ps # prints a line of information about the current running login shell and any processes running under it ps -a # selects all processes with a tty except session leaders