├── Challenges ├── Arrays in Bash │ ├── Concatenate an array with itself.sh │ ├── Count the number of elements in an Array.sh │ ├── Display an element of an array.sh │ ├── Filter an Array with Patterns.sh │ ├── Lonely Integer - Bash!.sh │ ├── Read in an Array.sh │ ├── Remove the First Capital Letter from Each Element.sh │ └── Slice an Array.sh ├── Bash │ ├── A Personalized Echo.sh │ ├── Arithmetic Operations.sh │ ├── Comparing Numbers.sh │ ├── Compute the average.sh │ ├── Functions and Fractals - Recursive Trees - Bash!.sh │ ├── Getting started with conditionals.sh │ ├── Let's Echo.sh │ ├── Looping and Skipping.sh │ ├── Looping with Numbers.sh │ ├── More on Conditionals.sh │ └── The World of Numbers.sh ├── Grep Sed Awk │ ├── 'Awk' - 1.sh │ ├── 'Awk' - 2.sh │ ├── 'Awk' - 3.sh │ ├── 'Awk' - 4.sh │ ├── 'Grep' #1.sh │ ├── 'Grep' #2.sh │ ├── 'Grep' #3.sh │ ├── 'Grep' - B.sh │ ├── 'Grep' -A.sh │ ├── 'Sed' command #1.sh │ ├── 'Sed' command #2.sh │ ├── 'Sed' command #3.sh │ ├── 'Sed' command #4.sh │ └── 'Sed' command #5.sh └── Text Processing │ ├── 'Tr' Command #1.sh │ ├── 'Tr' Command #2.sh │ ├── 'Tr' Command #3.sh │ ├── 'Uniq' Command #1.sh │ ├── 'Uniq' Command #2.sh │ ├── 'Uniq' Command #3.sh │ ├── 'Uniq' Command #4.sh │ ├── Cut #1.sh │ ├── Cut #2.sh │ ├── Cut #3.sh │ ├── Cut #4 .sh │ ├── Cut #5.sh │ ├── Cut #6.sh │ ├── Cut #7.sh │ ├── Cut #8.sh │ ├── Cut #9.sh │ ├── Head of a Text File #1.sh │ ├── Head of a Text File #2.sh │ ├── Middle of a Text File.sh │ ├── Paste - 1.sh │ ├── Paste - 2.sh │ ├── Paste - 3.sh │ ├── Paste - 4.sh │ ├── Sort Command #1.sh │ ├── Sort Command #2.sh │ ├── Sort Command #3.sh │ ├── Sort Command #4.sh │ ├── Sort Command #5.sh │ ├── Sort command #6.sh │ ├── Sort command #7.sh │ ├── Tail of a Text File #1.sh │ └── Tail of a Text File #2.sh ├── License.md └── README.md /Challenges/Arrays in Bash/Concatenate an array with itself.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Arrays in Bash/Concatenate an array with itself.sh -------------------------------------------------------------------------------- /Challenges/Arrays in Bash/Count the number of elements in an Array.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Arrays in Bash/Count the number of elements in an Array.sh -------------------------------------------------------------------------------- /Challenges/Arrays in Bash/Display an element of an array.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Arrays in Bash/Display an element of an array.sh -------------------------------------------------------------------------------- /Challenges/Arrays in Bash/Filter an Array with Patterns.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Arrays in Bash/Filter an Array with Patterns.sh -------------------------------------------------------------------------------- /Challenges/Arrays in Bash/Lonely Integer - Bash!.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Arrays in Bash/Lonely Integer - Bash!.sh -------------------------------------------------------------------------------- /Challenges/Arrays in Bash/Read in an Array.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Arrays in Bash/Read in an Array.sh -------------------------------------------------------------------------------- /Challenges/Arrays in Bash/Remove the First Capital Letter from Each Element.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Arrays in Bash/Remove the First Capital Letter from Each Element.sh -------------------------------------------------------------------------------- /Challenges/Arrays in Bash/Slice an Array.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Arrays in Bash/Slice an Array.sh -------------------------------------------------------------------------------- /Challenges/Bash/A Personalized Echo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | read name 3 | echo "Welcome $name" -------------------------------------------------------------------------------- /Challenges/Bash/Arithmetic Operations.sh: -------------------------------------------------------------------------------- 1 | read x 2 | printf "%.3f\n" `echo "$x" | bc -l` -------------------------------------------------------------------------------- /Challenges/Bash/Comparing Numbers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Bash/Comparing Numbers.sh -------------------------------------------------------------------------------- /Challenges/Bash/Compute the average.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Bash/Compute the average.sh -------------------------------------------------------------------------------- /Challenges/Bash/Functions and Fractals - Recursive Trees - Bash!.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Bash/Functions and Fractals - Recursive Trees - Bash!.sh -------------------------------------------------------------------------------- /Challenges/Bash/Getting started with conditionals.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Bash/Getting started with conditionals.sh -------------------------------------------------------------------------------- /Challenges/Bash/Let's Echo.sh: -------------------------------------------------------------------------------- 1 | echo "HELLO" -------------------------------------------------------------------------------- /Challenges/Bash/Looping and Skipping.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Bash/Looping and Skipping.sh -------------------------------------------------------------------------------- /Challenges/Bash/Looping with Numbers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Bash/Looping with Numbers.sh -------------------------------------------------------------------------------- /Challenges/Bash/More on Conditionals.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Bash/More on Conditionals.sh -------------------------------------------------------------------------------- /Challenges/Bash/The World of Numbers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Bash/The World of Numbers.sh -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Awk' - 1.sh: -------------------------------------------------------------------------------- 1 | awk '{ if(length($4) == 0) print "Not all scores are available for " $1 }' 2 | -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Awk' - 2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Grep Sed Awk/'Awk' - 2.sh -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Awk' - 3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Grep Sed Awk/'Awk' - 3.sh -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Awk' - 4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Grep Sed Awk/'Awk' - 4.sh -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Grep' #1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Grep Sed Awk/'Grep' #1.sh -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Grep' #2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Grep Sed Awk/'Grep' #2.sh -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Grep' #3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Grep Sed Awk/'Grep' #3.sh -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Grep' - B.sh: -------------------------------------------------------------------------------- 1 | grep '\([0-9]\) *\1' -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Grep' -A.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Grep Sed Awk/'Grep' -A.sh -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Sed' command #1.sh: -------------------------------------------------------------------------------- 1 | sed -e 's/the /this /1' -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Sed' command #2.sh: -------------------------------------------------------------------------------- 1 | sed -e 's/thy /your /gI' 2 | -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Sed' command #3.sh: -------------------------------------------------------------------------------- 1 | sed -e 's/thy/{&}/gI' -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Sed' command #4.sh: -------------------------------------------------------------------------------- 1 | sed -r 's/[0-9]{4}[ ]/**** /g' -------------------------------------------------------------------------------- /Challenges/Grep Sed Awk/'Sed' command #5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Grep Sed Awk/'Sed' command #5.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/'Tr' Command #1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/'Tr' Command #1.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/'Tr' Command #2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/'Tr' Command #2.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/'Tr' Command #3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/'Tr' Command #3.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/'Uniq' Command #1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/'Uniq' Command #1.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/'Uniq' Command #2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/'Uniq' Command #2.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/'Uniq' Command #3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/'Uniq' Command #3.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/'Uniq' Command #4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/'Uniq' Command #4.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Cut #1.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #2.sh: -------------------------------------------------------------------------------- 1 | #Display the 2nd and 7th character from each line of text. 2 | cut -c 2,7 -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Cut #3.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #4 .sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Cut #4 .sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Cut #5.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #6.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Cut #6.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #7.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Cut #7.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #8.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Cut #8.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Cut #9.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Cut #9.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Head of a Text File #1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Head of a Text File #1.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Head of a Text File #2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Head of a Text File #2.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Middle of a Text File.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Middle of a Text File.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Paste - 1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Paste - 1.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Paste - 2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Paste - 2.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Paste - 3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Paste - 3.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Paste - 4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Paste - 4.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Sort Command #1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Sort Command #1.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Sort Command #2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Sort Command #2.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Sort Command #3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Sort Command #3.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Sort Command #4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Sort Command #4.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Sort Command #5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Sort Command #5.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Sort command #6.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Sort command #6.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Sort command #7.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Sort command #7.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Tail of a Text File #1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/Challenges/Text Processing/Tail of a Text File #1.sh -------------------------------------------------------------------------------- /Challenges/Text Processing/Tail of a Text File #2.sh: -------------------------------------------------------------------------------- 1 | #Display the last 20 characters of an input file. 2 | tail -c 20 -------------------------------------------------------------------------------- /License.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/License.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thomas-George-T/HackerRank-The-Linux-Shell-Challenges-Solutions/HEAD/README.md --------------------------------------------------------------------------------