Skip to content

Latest commit

 

History

History
117 lines (102 loc) · 10.7 KB

README.md

File metadata and controls

117 lines (102 loc) · 10.7 KB




Description

Solutions to a comprehensive collection of easy, medium, and hard challenges, complemented by relevant learning resources, for the Linux Shell Challenges on HackerRank.

Domains included:

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.sh
16 'Tr' Command #2 Solution.sh
17 'Tr' Command #3 Solution.sh
18 Sort Command #1 Solution.sh
19 Sort Command #2 Solution.sh
20 Sort Command #3 Solution.sh
21 Sort Command #4 Solution.sh
22 Sort Command #5 Solution.sh
23 Sort Command #6 Solution.sh
24 Sort Command #7 Solution.sh
25 'Uniq' Command #1 Solution.sh
26 'Uniq' Command #2 Solution.sh
27 'Uniq' Command #3 Solution.sh
28 'Uniq' Command #4 Solution.sh
29 Paste - 1 Solution.sh
30 Paste - 2 Solution.sh
31 Paste - 3 Solution.sh
32 Paste - 4 Solution.sh

Arrays in Bash

Number Challenge 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 Challenge 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

Reference Materials