Solutions for the Linux Shell - Bash, Text Processing, Arrays in Bash, Grep Sed Awk Challenges on HackerRank
Number | Challenge | Solutions |
---|---|---|
1 | Cut #1 | Solution |
2 | Cut #2 | Solution |
3 | Cut #3 | Solution |
4 | Cut #4 | Solution |
5 | Cut #5 | Solution |
6 | Cut #6 | Solution |
7 | Cut #7 | Solution |
8 | Cut #8 | Solution |
9 | Cut #9 | Solution |
10 | Head of a Text File #1 | Solution |
11 | Head of a Text File #2 | Solution |
12 | Middle of a Text File | Solution |
13 | Tail of a Text File #1 | Solution |
14 | Tail of a Text File #2 | Solution |
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 |
30 | Paste - 2 | Solution |
31 | Paste - 3 | Solution |
32 | Paste - 4 | Solution |
Number | Challenge | Solutions |
---|---|---|
1 | 'Grep' #1 | Solution |
2 | 'Grep' #2 | Solution |
3 | 'Grep' #3 | Solution |
4 | 'Grep' -A | Solution |
5 | 'Grep' -B | Solution |
6 | 'Sed' command #1 | Solution |
7 | 'Sed' command #2 | Solution |
8 | 'Sed' command #3 | Solution |
9 | 'Sed' command #4 | Solution |
10 | 'Sed' command #5 | Solution |
11 | 'Awk' - 1 | Solution |
12 | 'Awk' - 2 | Solution |
13 | 'Awk' - 3 | Solution |
14 | 'Awk' - 4 | Solution |