Course content
- Create and Run Your First Bash Shell Script 30m
- Understanding Variables in Bash Shell Scripting 30m
- Passing Arguments to Bash Scripts 45m
- Using Arrays in Bash 45m
- Using Arithmetic Operators in Bash Scripting 45m
- String Operations in Bash 45m
- Decision Making With If Else and Case Statements 45m
- Loops in Bash 45m
- Using Functions in Bash 45m
- Automation With Bash 45m
Whether you are a beginner or seasoned Linux user, you cannot escape Bash.
From school curriculum to sysadmin tasks, from setting up your homelab to working as DevOps, Bash scripting is present everywhere.
It is time that you get familiar with the essentials of bash shell scripting, and this course intends to do the same.
⏳ Time to complete: Approx. 3 hours
📋 Prerequisite: Absolute basics of getting around Linux terminal
What will you learn?
In this Bash course for beginners, you'll learn the following:
- Creating and running Hello World bash script
- Understanding variables
- Passing arguments to your bash scripts
- Using bash arrays
- Doing mathematical calculations in bash
- Manipulating strings
- Adding conditional logics in bash
- Creating loops
- Using functions
- Automating some small but practical tasks with bash
How to use this course?
You can simply read the text and see things in action.
Although, it is highly recommend that you follow the instructions and steps on your own system. That will be the best approach here.
The course is divided into chapters. The chapters of the series are always visible in the left sidebar and you can easily switch between them. The sub-sections of a chapter are located in the right sidebar.
The next and previous chapter navigation are also present at the bottom of each chapter.
Each chapter has sample examples and practice exercises to test your learnings.
For any doubts, you can always use the comment section available under each chapter.
Let's start scripting bash!
About the author

A Linux sysadmin who likes to code for fun. I have authored Learn Linux Quickly book to help people learn Linux easily. I also like watching the NBA and going for a cruise with my skateboard.