Bash Scripting and Shell Programming, Part 1 of 2: Basics

Bash Scripting and Shell Programming, Part 1 of 2: Basics

LearnNow Online
Updated Jul 20, 2020

Course description

In this course you will be able to create bash scripts with ease. You'll learn how to take tedious and repetitious tasks and turn them into programs that will save you time and simplify your life on Linux, Unix, or MAC systems. This course covers shell scripting basics, exit status, functions as well as wildcards.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Some knowledge of the command line would be helpful, but not required.

Meet the expert

Jason Cannon

Jason Cannon is the author of Linux Administration, the founder of the Linux Training Academy, and an instructor to thousands of satisfied students. He has worked for many technology companies who take information security seriously as well as security firms such as Mandiant and FireEye.

Video Runtime

68 Minutes

Time to complete

122 Minutes

Course Outline


Shell Scripting Basics (18:34)

  • Introduction (00:08)
  • Course Overview (01:38)
  • Shell Scripting Basics intro (00:49)
  • Shell Scripts (08:38)
  • Parameters and Input (07:11)
  • Summary (00:08)

Exit Status (15:04)

  • Introduction (00:08)
  • Exit Status (08:52)
  • Demo: Exit Status (05:56)
  • Summary (00:08)

Functions (14:44)

  • Introduction (00:08)
  • Functions (07:18)
  • Function Exit Status (04:48)
  • Shell Script Template and Checklist (01:59)
  • Intro to Wildcards (00:23)
  • Summary (00:08)

Wildcards (20:14)

  • Introduction (00:08)
  • Wildcards (05:11)
  • Demo: Wildcards (07:00)
  • Wildcards in Shell Scripts (03:45)
  • Demo: Wildcards in Shell Scripts (04:01)
  • Summary (00:08)