Skip to main content

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

#ChapterDescription
01Introduction to scriptingFirst script, shebang, execution
02Variables and typesDeclaration, expansion, arrays
03Conditionsif, else, elif, case, tests
04Loopsfor, while, until, break, continue
05FunctionsDefinition, arguments, return
06Text manipulationAdvanced sed, awk, cut, tr
07Regular expressionsPatterns, grep, sed with regex
08Error handlingExit codes, trap, debugging
09Best practicesStyle, security, maintainability
10DevOps scriptsReal-world practical examples
11Exercises and projectsComplete 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


Start the course →