Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.24 KB

bashscripting.md

File metadata and controls

33 lines (26 loc) · 1.24 KB

Bash Scripting - TryHackMe

🚩 Room Information


🎓 Learning Objectives

According to TryHackMe, in this room you will learn:

  • Bash Syntax: Fundamental structure of bash scripts.
  • Variables: How to declare and use variables.
  • Parameters: Using command-line arguments in scripts.
  • Arrays: Handling collections of data.
  • Conditionals: Implementing logic with if/else statements.

🧠 Knowledge Required

  • Basic Linux CLI: Familiarity with the terminal and basic commands (ls, cd).

🔍 Task Breakdown

  1. Task 1: Introduction - Overview of the room and bash scripting.
  2. Task 2: Our first simple bash scripts - Writing and running basic commands in a .sh file.
  3. Task 3: Variables - Storing and accessing data.
  4. Task 4: Parameters - Using positional arguments (e.g., $1, $2).
  5. Task 5: Arrays - Basics of bash arrays.
  6. Task 6: Conditionals - Using if, else, and comparison operators.
  7. Task 7: Further reading - Resources for advanced scripting.

Based on TryHackMe content. Compiled by Amit Padhan