Sitemap

Linux Shells

2 min readOct 27, 2024

--

Linux Shells

Learn about scripting and the different types of Linux shells.

Press enter or click to view image in full size

Cyber Security 101

  • Command Line
  • Linux Shells
  • Learn about scripting and the different types of Linux shells.

Task 1 :- Introduction to Linux Shells

Q1)Who is the facilitator between the user and the OS?

Answer :- Shell

Task 2 :-How To Interact With a Shell?

Q2)What is the default shell in most Linux distributions?

Answer :- Bash

Q3)Which command utility is used to list down the contents of a directory?

Answer :- ls

Q4)Which command utility can help you search for anything in a file?

Answer :- grep

Task 3 :- Types of Linux Shells

Q5)Which shell comes with syntax highlighting as an out-of-the-box feature?

Answer :- Fish

Q6)Which shell does not have auto spell correction?

Get TRedEye’s stories in your inbox

Join Medium for free to get updates from this writer.

Answer :- Bash

Q7)Which command displays all the previously executed commands of the current session

Answer :- history

Task 4 :-Shell Scripting and Components

Q8)What is the shebang used in a Bash script?

Answer :- #!/bin/bash

Q9)Which command gives executable permissions to a script?

Answer :- chmod +x

Q10)Which scripting functionality helps us configure iterative tasks?

Answer :- loops

Task 5 :- The Locker Script

Q11)What would be the correct PIN to authenticate in the locker script?

Answer :- 7385

Task 6 :- Practical Exercise

Q12)Which file has the keyword?

Answer :- authentication.log

Q13)Where is the cat sleeping?

Answer :- under the table

Task 7 :- Conclusion

Q14)Complete the room.

Answer :- No answer needed

Happy hacking! 🧑‍💻 Follow for more walkthrough…@TRedEye

--

--

TRedEye
TRedEye

Written by TRedEye

I'm a Penetration Tester, Cyber security researcher & Top 2% in Tryhackme