We may earn an affiliate commission when you visit our partners.
Course image
Jason Cannon

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.

Read more

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.
  • Unconditional Udemy 30 day money-back guarantee - that's my personal promise of your success.

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

Here's What People Are Saying About Jason and His Courses:

"Another amazing course by Jason Cannon. This course helped propel my bash scripting to a whole new level. Now, I can't stop automating my work flow. :) Pretty soon everything will do everything itself." Fernando Garcia, Udemy Student

"Excellent course on Linux. It is the best way to get started using Linux that I have come across." Chris Bischoff, Udemy student

"This class was a great review of the 2 Linux classes I took in school. I learned plenty of new stuff and got a great refresher on things I haven't used in some time. I did well on my interview and got the job I was looking for. Thanks. " Alan Derrick, Udemy student

"This was a great course. Learned a lot from it. " Ricardo José Crosara Junior, Udemy student

"Excellent starter course. Very good and complete guide to get you started on working on Linux." Brian Mulder, Udemy student

"Great course. Easy to understand for beginners and a great refresher for experienced users. " Spencer Ball, Udemy student

"Very well laid out course. Thanks Jason. " Eric Etheredge, Udemy student

"Love it... it's absolutely one of the best courses I've taken here on Udemy." Idriss N, Udemy student

"Awesome Course. Another great one. Thanks Jason. " --John Wilmont, Udemy student

"Excellent Course. Having come from a moderate understanding of Linux, this course has given me a deeper and more streamlined understanding of Linux. Definitely worth the money." Armando Cabrera, Udemy student

"Fantastic course and very beautifully explained." S John, Udemy student

"Great course, great instructor. I enjoyed every minute of it. I recommend this course 100%." Alfredo, Udemy student

"I am lovin' it. Nice way to begin one's journey into Linux." Rohit Gupta, Udemy student

Free Bonus - Downloads of All the Material Covered

As an added bonus for enrolling in this Bash Scripting video training course, you'll receive access to all the slides and shell scripts used in the lessons. You can download them and refer to them when you want to jog your memory or double-check your work.

Enroll now and to learn how to write bash shell scripts like a pro.

Enroll now

What's inside

Learning objectives

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

Syllabus

Bash Programming Course Overview and Downloads
Course Overview
Course Downloads, Including the scripts used in the course and a cheat sheet
Shell Scripting in a Nutshell
Read more

The contents of this lecture are so secret I'm not even allowed to describe it! Open, if you dare.

Traffic lights

Read about what's good
what should give you pause
and possible dealbreakers
Teaches how to create bash shell scripts that solve real-world problems, which is a highly sought-after skill in the IT industry as well as for personal projects and use
Goes over the most common bash programming errors and how to fix them, which often requires learners to spend a lot of time and effort researching and debugging on their own
Taught by Jason Cannon, who is the author of several popular books on Linux and programming, and who has years of experience in IT and Unix/Linux systems engineering
Covers special variables, a fundamental concept in shell scripting that's often overlooked in other beginner courses
Includes a shell scripting cheat sheet, which is a handy reference that can save time and effort

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Reviews summary

Practical bash scripting for automation

Learners say this course is a highly practical and effective guide to Bash scripting and shell programming, particularly for automating tasks and solving real-world problems. Many found it an excellent starting point for beginners, while also serving as a great refresher for experienced users. The instructor's real-world experience is frequently highlighted, alongside the step-by-step process, practice exercises, and useful downloads like a shell script template and checklist. It significantly helps in developing a deeper understanding of Linux and improving workflow.
The learned skills are highly applicable across various shells and operating systems.
"I found the scripting techniques are broadly applicable to various Unix-like systems."
"The course clearly explains how the concepts apply to different shells beyond just Bash."
"My scripts work on Linux, Mac OS X, and other Unix environments as promised."
Features a clear, step-by-step layout with valuable supplementary resources.
"Very well laid out course. Thanks Jason."
"I appreciate the structured approach with practical exercises and downloadable scripts."
"The course includes useful resources like a shell script checklist and template, which I found very helpful."
Instructor Jason Cannon is consistently praised for his clarity and expertise.
"Another amazing course by Jason Cannon."
"Great course, great instructor. I enjoyed every minute of it. I recommend this course 100%."
"Fantastic course and very beautifully explained."
Suitable for both beginners and experienced users seeking a comprehensive refresher.
"Excellent course on Linux. It is the best way to get started using Linux that I have come across."
"Great course. Easy to understand for beginners and a great refresher for experienced users."
"Excellent starter course. Very good and complete guide to get you started on working on Linux."
Enables practical automation of repetitive tasks and real-world problem-solving.
"This course helped propel my bash scripting to a whole new level. Now, I can't stop automating my work flow. :)"
"I learned plenty of new stuff and got a great refresher on things I haven't used in some time. I did well on my interview and got the job I was looking for."
"Having come from a moderate understanding of Linux, this course has given me a deeper and more streamlined understanding of Linux."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Bash Scripting and Shell Programming (Linux Command Line) with these activities:
Follow online tutorials on bash scripting
Supplement your understanding of bash scripting by following comprehensive online tutorials.
Browse courses on Bash
Show steps
  • Identify reputable online tutorials on bash scripting
  • Follow the tutorials step-by-step, practicing the concepts
Review basic Linux commands
Review basic Linux commands to ensure a strong foundation for shell scripting.
Browse courses on Linux
Show steps
  • Create a list of essential Linux commands
  • Practice using these commands in the terminal
Read 'Advanced Bash Scripting Guide'
Expand your knowledge of bash scripting by reviewing an authoritative book on the subject, providing a comprehensive reference and deepening your understanding.
Show steps
  • Read selected chapters relevant to the course topics
  • Take notes and highlight key concepts for future reference
Five other activities
Expand to see all activities and additional details
Show all eight activities
Complete shell scripting exercises
Sharpen your shell scripting skills by completing practical exercises that challenge your understanding.
Browse courses on Bash
Show steps
  • Find online resources or textbooks with shell scripting exercises
  • Solve the exercises, debugging your scripts as needed
Develop a shell script for a specific task
Apply your bash scripting knowledge to a practical project, solidifying your understanding.
Browse courses on Bash
Show steps
  • Identify a task that can be automated using a shell script
  • Plan and write the shell script
  • Test and debug the script to ensure its functionality
Help other students with shell scripting
Reinforce your understanding of bash scripting by assisting other students with their challenges.
Browse courses on Bash
Show steps
  • Identify opportunities to help other students in online forums or discussion groups
  • Provide clear explanations and guidance on shell scripting concepts and exercises
Contribute to open-source shell scripting projects
Deepen your understanding of shell scripting by collaborating on real-world projects and contributing to the open-source community.
Browse courses on Bash
Show steps
  • Identify open-source shell scripting projects on platforms like GitHub
  • Review the project documentation and contribute to bug fixes or feature enhancements
Create a shell script library
Develop a comprehensive collection of reusable shell scripts for common tasks, expanding your scripting capabilities.
Browse courses on Bash
Show steps
  • Plan the structure and functionality of the shell script library
  • Write individual shell scripts for specific tasks
  • Test and debug the scripts to ensure their reliability
  • Document the library for easy reference and use

Career center

Learners who complete Bash Scripting and Shell Programming (Linux Command Line) will develop knowledge and skills that may be useful to these careers:

Reading list

We haven't picked any books for this reading list yet.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser