Linux · Module 03
Bash Scripting
Automate shell work with scripts, expansion, conditions, loops, and functions.
What you will learn
- Create and run Bash scripts safely
- Use quoting, expansion, and indexed arrays
- Write conditions, loops, and case statements correctly
- Handle functions, arguments, and exit status
Lessons
- Shells, your first script, and I/O
Understand how Bash reads scripts and connects data streams.
- Variables, expansion, and arrays
Preserve data boundaries while Bash expands values.
- String, numeric, and file conditions
Choose the right test operator and understand Bash exit status.
- Loops and case statements
Iterate predictably and branch with shell patterns.
- Functions, arguments, and special parameters
Isolate reusable logic and pass data through arguments or stdout.