Tutorialspoint

Celebrating 11 Years of Learning Excellence! Use: TP11

Bash Scripting and Shell Programming Course (Linux Command Line)

person icon Jason Cannon

4.5

Bash Scripting and Shell Programming Course (Linux Command Line)

Learn bash programming for Linux, Unix, & Mac. Learn how to write bash scripts like a pro & solve real-world problems!

updated on icon Updated on Jun, 2025

language icon Language - English

person icon Jason Cannon

English [CC]

category icon IT and Software ,Operating Systems and Servers,Linux

Lectures -35

Resources -10

Duration -2 hours

Lifetime Access

4.5

price-loader

Lifetime Access

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

If you want to learn how to write bash shell scripts like a pro, solve real-world problems, or automate repetitive and complex tasks, read on.

Hello. My name is Jason Cannon, and I'm the author of Linux for Beginners, Python Programming for Beginners, and the founder of the Linux Training Academy. I started my IT career in the late 1990's as a Unix and Linux System Engineer, and I'll be sharing my real-world bash scripting and shell programming experience with you throughout this course.

By the end of 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.

____________________

Here is what you will get and learn by taking this Bash Scripting course:

  • A step-by-step process of writing bash shell scripts that solve real-world problems.
  • The #1 thing you must do every time you create a bash script.
  • How to quickly find and fix the most common shell scripting errors.
  • For those of you who want to start programming right away, watch the two-video shell scripting crash course. If you do nothing else than watch these two videos, you'll be ahead of most bash programmers.
  • How to accept input from a user and then make decisions on that input.
  • How to accept and process command line arguments.
  • What special variables are available, how to use them in your shell scripts, and when to do so.
  • A shell script creation check list -- You'll never have to guess what to include in each of your shell scripts again. Just use this simple check list.
  • A shell script template (boilerplate). Use this format for each of your shell scripts. It shows exactly what to include and where everything goes. Eliminate guesswork!
  • Practice exercises with solutions so you can start using what you learn right away.
  • Real-world examples of shell scripts from my personal collection.
  • A download that contains the scripts used in the presentations and lessons. You'll be able to look at and experiment with everything you're learning.
  • Quizzes after each section just to make sure you're learning the most important aspects of shell scripting.

Learn to Program Using Any Shell

What you learn in this course can be applied to any shell, however, the focus is on the bash shell, and you'll learn some really advanced bash features. Again, whether you're using bash, bourne (sh), KornShell (ksh), C shell (csh), Z shell (zsh), or even the tcsh shell, you'll be able to put what you learn in this course to good use.

Perfect for Linux, Unix, Mac, and More!

Also, you'll be able to use these scripts on any Linux environment, including Ubuntu, Debian, Linux Mint, RedHat, Fedora, OpenSUSE, Slackware, Kali Linux, and more. You're scripts will even run on other operating systems, such as Apple's Mac OS X, Oracle's Solaris, IBM's AIX, HP's HP-UX, FreeBSD, NetBSD, and OpenBSD. (Sorry, this course is NOT for Windows scripting or Powershell scripting.)

Who this course is for:

  • Is anyone interested in shell scripting or shell programming.

Goals

  • Write shell scripts that can be used on Linux, Mac, and Unix operating systems.
  • Automate tasks using shell scripts.
  • Create complex scripts that take advantage of advanced bash shell features.

Prerequisites

  • Some knowledge of the command line would be helpful, but not required.
Bash Scripting and Shell Programming Course (Linux Command Line)

Curriculum

Check out the detailed breakdown of what’s inside the course

Bash Programming Course Overview and Downloads

2 Lectures
  • play icon Course Overview 01:38 01:38
  • play icon Course Downloads, Including the scripts used in the course and a cheat sheet 01:02 01:02

Shell Scripting in a Nutshell

4 Lectures
Tutorialspoint

Return Codes and Exit Statuses

3 Lectures
Tutorialspoint

Shell Functions

3 Lectures
Tutorialspoint

Shell Script Checklist and Template

2 Lectures
Tutorialspoint

Wildcards

6 Lectures
Tutorialspoint

Case Statements and Logic

2 Lectures
Tutorialspoint

Logging

2 Lectures
Tutorialspoint

While Loops

3 Lectures
Tutorialspoint

Debugging Your Bash Programs

3 Lectures
Tutorialspoint

Data Manipulation and Text Transformations with Sed

1 Lectures
Tutorialspoint

Scripts Used to Create This Course

1 Lectures
Tutorialspoint

Slides

1 Lectures
Tutorialspoint

Course Resource

1 Lectures
Tutorialspoint

Instructor Details

Jason Cannon

Jason Cannon

Jason started his career as a Unix and Linux System Engineer in 1999. Since then, he has utilized his Linux skills at companies such as Xerox, UPS, Hewlett-Packard, and Amazon. Additionally, he has acted as a technical consultant and independent contractor for small businesses and Fortune 500 companies.

Jason has professional experience with RedHat Enterprise Linux, CentOS, Ubuntu, and SUSE Linux Enterprise Server. He has used several Linux distributions on personal projects, including Debian, Slackware, Arch Linux, CrunchBang, Raspberry Pi OS, and others. In addition to Linux, Jason has experience supporting proprietary Unix operating systems, including AIX, HP-UX, and Solaris.

He enjoys teaching others how to use and exploit the power of the Linux operating system. He is also the author of the books "Linux for Beginners," "Command Line Kung Fu," and "Docker: A Project-Based Approach to Learning."

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515