Skip to content

KursadKalender/HackerRank-Linux-Shell-Challenges-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

HackerRank Linux Shell Challenges




Description

My solutions for HackerRank Linux Shell Challenges.

Bash Challenges

Number Challenges Solutions
1 Let's Echo! Solution.sh
2 Looping and Skipping Solution.sh
3 A Personalized Echo Solution.sh
4 Looping with Numbers Solution.sh
5 The World of Numbers Solution.sh
6 Comparing Numbers Solution.sh
7 Getting Started with Conditionals Solution.sh
8 More on Conditionals Solution.sh
9 Arithmetic Operations Solution.sh
10 Compute the Average Solution.sh
11 Functions and Fractals - Recursive Trees - Bash! Solution.sh

Text Processing

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

Arrays in Bash

Number Challenges Solutions
1 Read in an Array Solution.sh
2 Slice an Array Solution.sh
3 Filter an Array with Patterns Solution.sh
4 Concatenate an Array with itself Solution.sh
5 Display an element of an array Solution.sh
6 Count the number of Elements in an Array Solution.sh
7 Remove the First Capital Letter from Each Element Solution.sh
8 Lonely Integer - Bash! Solution.sh

Grep Sed Awk

Number Challenges Solutions
1 'Grep' #1 Solution.sh
2 'Grep' #2 Solution.sh
3 'Grep' #3 Solution.sh
4 'Grep' - A Solution.sh
5 'Grep' - B Solution.sh
6 'Sed' Command #1 Solution.sh
7 'Sed' Command #2 Solution.sh
8 'Sed' Command #3 Solution.sh
9 'Sed' Command #4 Solution.sh
10 'Sed' Command #5 Solution.sh
11 'Awk' - 1 Solution.sh
12 'Awk' - 2 Solution.sh
13 'Awk' - 3 Solution.sh
14 'Awk' - 4 Solution.sh