Skip to content

A repository focused on the basics of shell scripting. It provides beginner-friendly examples and explanations of essential shell scripting concepts, including variables, conditions, loops, functions, and more.

Notifications You must be signed in to change notification settings

MahdiDbh/ShellCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

About

A repository focused on the basics of shell scripting. It provides beginner-friendly examples and explanations of essential shell scripting concepts, including variables, conditions, loops, functions, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages