1. Home
  2. Training Library
  3. Programming
  4. Courses
  5. Bash Scripting and Shell Programming — Introduction

Bash Scripting and Shell Programming — Introduction

Contents

keyboard_tab
Bash Scripting and Shell Programming
2
Downloads
PREVIEW48s

The course is part of this learning path

Bash Scripting and Shell Programming
11
1
Learning Path Overview
Overview
Difficulty
Beginner
Duration
2m
Students
127
Ratings
4/5
starstarstarstarstar-border
Description

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 

Transcript

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.

About the Author
Avatar
Jason Cannon
Founder, Linux Training Academy
Students
1926
Courses
60
Learning Paths
7

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.

Covered Topics