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.
β³ 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
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!
Creator of Linux Handbook and It's FOSS. An ardent Linux user & open source promoter. Huge fan of classic detective mysteries from Agatha Christie and Sherlock Holmes to Columbo & Ellery Queen.