Shell Scripting, Succinctly


This Lesson covers the most important aspects of shell scripting. You'll learn exactly what scripts are, the components that make up a script, how to use variables in your scripts, how to perform tests and make decisions, how to accept command line arguments, and how to accept input from a user. We'll also cover how to use if statements to make decisions in your scripts.

Learning Objectives

  • Obtain a solid understanding of shell scripting.
  • Learn the components and variables that make up a script.
  • How to perform tests and make decisions.
  • How to accept command line arguments and input from users.
  • Understand how to use if statements.

Intended Audience

This Lesson is intended for anyone who wants to learn the basics of shell scripting.


To get the most out of this Lesson, you should already have some basic knowledge of Linux.

About the Author
Jason Cannon, opens in a new tab
Founder, Linux Training Academy
Learning paths

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 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