Welcome to the Shell Scripting Basics repository! 🎉
This repository is designed to help you learn and practice fundamental shell scripting concepts with clear examples and explanations.
Script Name | Description |
---|---|
01-read.sh |
Demonstrates using variables in scripts. |
02-conditions-state.sh |
Examples of conditional statements (if-else ). |
03-loops.sh |
Covers loops (for , while , and until ). |
04-read.sh |
Handling user input and output. |
05-TestScript.sh |
cheking fo directory if existe or not. |
06-read.sh |
Handling user input and output. |
07-PingSweeper.sh |
test ping conection of network after entring the subnet. |
08-PasswordGenerator.sh |
Ginerate safe Passwords. |
To start working with the scripts, clone the repository to your local machine:
git clone https://github.com/username/shell-scripting-basics.git
cd shell-scripting-basics
Before running a script, ensure it has the necessary execute permissions:
chmod +x script_name.sh
Execute any script using the following command:
./script_name.sh
- A Unix-like operating system (Linux, macOS, etc.)
- A terminal emulator
- Basic knowledge of shell commands (optional but helpful)
Contributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.