Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 989 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 989 Bytes

Shell Scripting Basics

Welcome to the Shell Scripting Basics repository! 🎉
This repository contains examples and explanations to help you learn the fundamental syntax and concepts of shell scripting.


📂 Repository Structure

  • 01-hello-world.sh: Basic "Hello, World!" script.
  • 02-variables.sh: Using variables in shell scripts.
  • 03-conditions.sh: Conditional statements (if-else).
  • 04-loops.sh: Loops .
  • 05-functions.sh: Defining and using functions.
  • 06-input-output.sh: Handling user input and output.

🚀 Getting Started

1. Clone the Repository

git clone https://github.com/username/shell-scripting-basics.git
cd shell-scripting-basics

**2. Make Scripts Executable

Before running a script, ensure it has execute permissions:

chmod +x script_name.sh

**3. Run a Script

Execute any script using the following command:

./script_name.sh