learning path

Linux Shell Scripting: A Project-Based Approach to Learning

Beginner
15h 19m
1,828
4.6/5
Enhance your skill setDevelop essential skills for thriving in real-world scenarios.
Stay focused, stay committedBoost your learning journey by enrolling: stay focused, consistent and achieve your goals with ease.
Earn a certificate of completionShow your skills and build your credibility when you include them in your resume and LinkedIn profile.

This course will give you the practical knowledge and hands-on skills that you need to start shell scripting on your own. Each course within this course includes exercises that guide you through the shell scripting topics covered and that you can follow along with in your own Linux environment.

We'll work through a wide variety of shell scripts using project-based examples, which will help you to reach the learning objectives listed below. In order to follow along with the guided exercises in this course, all of the resources used can be downloaded here.

Learning Objectives

  • Name your shell scripts.
  • Use the proper permissions on your shell scripts.
  • Create and use variables in your scripts.
  • Use shell built-in commands and operating system commands.
  • Make the most out of special variables that are available to you in your scripts.
  • Make decisions by using if statements and performing several different kinds of tests
  • Check the exit statuses of commands and why you need to.
  • Use cryptographic hash functions
  • Create random data so you can do things like automatically generate strong passwords for user accounts.
  • Perform the same action or set of actions over a series of data utilizing for loops, while loops, and infinite loops.
  • Control all types of input and output.
  • Accept standard input from a user as well as from another program.
  • Redirect standard output and standard error.
  • Combine standard output and standard error
  • Use command pipelining
  • Perform text and string manipulation.
  • Process command-line arguments
  • Creating functions and when to do so.
  • Parsing, analyzing, and reporting on log files, CSV files, and other data.
  • Writing scripts that execute commands on other systems.

Intended Audience

  • Anyone who wants to learn Linux shell scripting 
  • Linux system administrators, developers, or programmers

Prerequisites

  • A basic understanding of the Linux command line
  • Access to a computer with a 64-bit processor running either Windows, Mac, or Linux. (You do NOT need Linux already installed to take this course.)
Your certificate for this learning path

About the Author

Avatar
Jason Cannon, opens in a new tab
Founder, Linux Training Academy
Students
24,620
Courses
61
Learning paths
19

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