From ef7aab4ab8aada83232b9c8c320e090c832d09e0 Mon Sep 17 00:00:00 2001 From: Jason Shearer Date: Thu, 18 Jun 2020 16:01:49 -0700 Subject: [PATCH 1/3] Fixed typo --- languages/bash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/bash.sh b/languages/bash.sh index d65d7a1..0334a06 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -175,10 +175,10 @@ ${array[i]} # displays array's value for this index. If no inde ${#array[i]} # to find out the length of any element in the array ${#array[@]} # to find out how many values there are in the array -declare -a # the variables are treaded as arrays +declare -a # the variables are treated as arrays declare -f # uses function names only declare -F # displays function names without definitions -declare -i # the variables are treaded as integers +declare -i # the variables are treated as integers declare -r # makes the variables read-only declare -x # marks the variables for export via the environment From fbbaaa6f0a2e3ab179be84118ada4a2e423870c8 Mon Sep 17 00:00:00 2001 From: nswinson <67199352+nswinson@users.noreply.github.com> Date: Sat, 20 Jun 2020 10:05:40 -0600 Subject: [PATCH 2/3] Update bash.sh --- languages/bash.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/languages/bash.sh b/languages/bash.sh index 0334a06..2f12a4a 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -380,6 +380,7 @@ kill -l # returns a list of all signals on the system, by name and 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 %1 # Where %1 is the number of job as read from 'jobs' command. 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 c2295bf7e452a51e17065fd6923d998cfdd23087 Mon Sep 17 00:00:00 2001 From: nswinson <67199352+nswinson@users.noreply.github.com> Date: Sat, 20 Jun 2020 10:45:05 -0600 Subject: [PATCH 3/3] Update bash.sh --- languages/bash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/bash.sh b/languages/bash.sh index 2f12a4a..18d7903 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -510,4 +510,4 @@ On_White='\033[47m' # White # Example of usage echo -e "${Green}This is GREEN text${Color_Off} and nornal text" echo -e "${Red}${On_White}This is Red test on White background${Color_Off}" -# option -s is mandatory, it enable interpretation of backslash escapes +# option -e is mandatory, it enable interpretation of backslash escapes