Home

Awesome

GitHub GitHub top language GitHub last commit ViewCount

<p align="center"> <br> <a href="https://www.hackerrank.com/Thomas_George_T"> <img height=100 src="https://hrcdn.net/community-frontend/assets/brand/logo-new-white-green-a5cb16e0ae.svg"> </a> <br> <br> </p>

Description

Solutions to all the easy, medium and hard challenges compiled with related learning resources for the Linux Shell Challenges on HackerRank.

Domains included:

Bash Challenges

NumberChallengesSolutions
1Let's Echo!Solution.sh
2Looping and SkippingSolution.sh
3A Personalized EchoSolution.sh
4Looping with numbersSolution.sh
5The World of NumbersSolution.sh
6Comparing NumbersSolution.sh
7Getting started with conditionalsSolution.sh
8More on ConditionalsSolution.sh
9Arithmetic OperationsSolution.sh
10Compute the AverageSolution.sh
11Functions and Fractals - Recursive Trees - Bash!Solution.sh

Text Processing

NumberChallengeSolutions
1Cut #1Solution
2Cut #2Solution
3Cut #3Solution
4Cut #4Solution
5Cut #5Solution
6Cut #6Solution
7Cut #7Solution
8Cut #8Solution
9Cut #9Solution
10Head of a Text File #1Solution
11Head of a Text File #2Solution
12Middle of a Text FileSolution
13Tail of a Text File #1Solution
14Tail of a Text File #2Solution
15'Tr' Command #1Solution
16'Tr' Command #2Solution
17'Tr' Command #3Solution
18Sort Command #1Solution
19Sort Command #2Solution
20Sort Command #3Solution
21Sort Command #4Solution
22Sort Command #5Solution
23Sort Command #6Solution
24Sort Command #7Solution
25'Uniq' Command #1Solution
26'Uniq' Command #2Solution
27'Uniq' Command #3Solution
28'Uniq' Command #4Solution
29Paste - 1Solution
30Paste - 2Solution
31Paste - 3Solution
32Paste - 4Solution

Arrays in Bash

NumberChallengeSolutions
1Read in an ArraySolution
2Slice an ArraySolution
3Filter an Array with PatternsSolution
4Concatenate an array with itselfSolution
5Display an element of an arraySolution
6Count the number of elements in an ArraySolution
7Remove the First Capital Letter from Each ElementSolution
8Lonely Integer - Bash!Solution

Grep Sed Awk

NumberChallengeSolutions
1'Grep' #1Solution
2'Grep' #2Solution
3'Grep' #3Solution
4'Grep' -ASolution
5'Grep' -BSolution
6'Sed' command #1Solution
7'Sed' command #2Solution
8'Sed' command #3Solution
9'Sed' command #4Solution
10'Sed' command #5Solution
11'Awk' - 1Solution
12'Awk' - 2Solution
13'Awk' - 3Solution
14'Awk' - 4Solution

Featured in

References, Tutorials and Relevant Materials

General

Bash

Text Processing

Arrays in Bash