Bash Scripting and Shell Programming
The course is part of this learning path
This brief course provides an introduction to the Bash Scripting and Shell Programming learning path, outlining the content and explaining the downloads available to you.
The downloads for this learning path can be found in this GitHub repository: https://github.com/cloudacademy/bash-scripting-shell-programming
Welcome to the Shell Scripting course. By the end of this course you'll be able to create shell scripts with ease. You'll learn how to take complex, tedious and repetitive tasks, and turn them into programs that will save you time and simplify your life on Linux, Unix, or Mac systems.
In this course will cover exactly how to get started writing shell scripts, what the shebang is and why you need one in every script you write. You'll also learn how to create and use variables in your script. We'll talk about testing and decision-making.
Next, you'll learn how to accept command line arguments with your script and how to process those. You'll learn how to accept input and write output. You'll learn decision-making structures like if statements. We'll talk about the importance of exit statuses and how to use those.
Next, you'll learn how to create and use functions in your scripts. We'll be talking about the use of wildcards and how to use those in conjunction with things like for loops. You'll learn how to simplify complex if statements by using something called a case statement. We'll talk about logging and some easy ways you can implement logging inside your shell scripts. You'll even learn some debugging tips and also some really common errors that people make when writing shell scripts and how to avoid those.
Also in this course, we're going to talk about some specific bash shell options that you can use to make your life easier. Those are the major highlights, but there's much more in this course. Okay, let's get started.
Jason is the founder of the Linux Training Academy as well as the author of "Linux for Beginners" and "Command Line Kung Fu." He has over 20 years of professional Linux experience, having worked for industry leaders such as Hewlett-Packard, Xerox, UPS, FireEye, and Amazon.com. Nothing gives him more satisfaction than knowing he has helped thousands of IT professionals level up their careers through his many books and courses.