Skip to main content

Start Learning Bash

Get started with Bash Shell script learning with practical examples. Also test your learning with practice exercises.

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 the Bash shell scripting, and this course intends to do the same.

📶 Difficulty level: Beginner
⏳ 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:

  1. Creating and running Hello World bash script
  2. Understanding variables
  3. Passing arguments to your bash scripts
  4. Using bash arrays
  5. Doing mathematical calculations in bash
  6. Manipulating strings
  7. Adding conditional logics in bash
  8. Creating loops
  9. Using functions
  10. Automating some small but practical tasks with bash
💡
Each lesson in this course has practice exercises, too, so that you can test what you just learned.

Who is your instructor?

Ahmed Alkabary

DevOps Engineer by day and Linux educator by night. Ahmed has written best-selling books like Learn Linux Quickly and Learn Ansible Quickly. He has also created several online courses on Docker, Ansible and many more DevOps tools.

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!