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

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.