Welcome to my Bash scripting learning repository! This project documents my hands-on journey into the world of shell scripting, where I’ve explored and practiced core concepts by writing individual script files — each dedicated to a specific topic.
This repo is a structured collection of basic Bash scripting concepts. Every file in this repository corresponds to a particular Bash topic or construct, such as:
- Variables
- Conditional statements (
if,else,elif) - Loops (
for,while,until) - Functions
- Input/Output redirection
- File handling
- Arrays
- Case statements
- Command-line arguments
- And more...
Each script includes inline comments to explain what’s happening, making it easy to follow along and understand the logic.
Through this project, I gained a solid understanding of:
- Automating repetitive terminal tasks
- Writing readable and modular shell scripts
- Debugging and executing scripts in Unix/Linux environments
- Real-world usage of conditional logic, loops, and functions
- The power of command-line tools and piping
Whether you're a beginner in Bash or brushing up on scripting fundamentals, this repository can serve as a:
- 📚 Reference Library – Quickly find working examples of specific Bash features.
- 🧪 Practice Playground – Use these scripts as starting points for your own experiments.
- 💡 Learning Guide – Follow the progression of concepts to build a foundational understanding.
Each script is short, focused, and beginner-friendly.
To explore the scripts on your machine:
git clone https://github.com/<your-username>/bash-scripting-basics.git
cd bash-scripting-basics