Linux 4 - Bash Scripting
Welcome to the fourth Linux course! This course will turn you into an efficient Bash scripter, capable of automating complex tasks and building professional DevOps tools.
Table of contents
| # | Chapter | Description |
|---|---|---|
| 01 | Introduction to scripting | First script, shebang, execution |
| 02 | Variables and types | Declaration, expansion, arrays |
| 03 | Conditions | if, else, elif, case, tests |
| 04 | Loops | for, while, until, break, continue |
| 05 | Functions | Definition, arguments, return |
| 06 | Text manipulation | Advanced sed, awk, cut, tr |
| 07 | Regular expressions | Patterns, grep, sed with regex |
| 08 | Error handling | Exit codes, trap, debugging |
| 09 | Best practices | Style, security, maintainability |
| 10 | DevOps scripts | Real-world practical examples |
| 11 | Exercises and projects | Complete mini-projects |
Prerequisites
- Have completed Linux 1, 2 and 3
- Be comfortable with the terminal and basic commands
- Understand redirections and pipes
Course objectives
By the end of this course, you will be able to:
- Write structured and maintainable Bash scripts
- Use variables, conditions, loops and functions
- Manipulate text with sed, awk and regex
- Handle errors and debug effectively
- Build DevOps automation tools
Estimated duration
⏱️ 14 to 16 hours of training