This repository contains my Bash scripting practice programs and some mini projects.
I am learning Bash from the basics and building practical scripts step by step.
- Hello World Program
- For Loop
- While Loop
- Command Line Arguments
- If-Else
- If-Elif-Else
- Functions
helloprogram.sh→ First Bash script (Hello World)forloop.sh→ Iterating usingforloopwhileloop.sh→ Iterating usingwhilelooparguments.sh→ Handling command-line argumentsif-else.sh→ Conditional statements (if-else)if-elif-else.sh→ Conditional statements (if-elif-else)functions.sh→ Using functions in Bash
- Hello_System.sh → Prints system information with a welcome message
- Disk_Usage.sh → Checks disk usage and alerts if usage is high
- Backup_File.sh → Creates a backup of files/folders
chmod +x scriptname.sh
./scriptname.sh