Shell Scripting: Discover How to Automate Command Line Tasks

Learn shell programming for Linux, Unix, & Mac. Learn how to write shell scripts like a pro & solve real-world problems!
4.3 (820 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
9,481 students enrolled Bestselling in Linux Shell Programming
$19
$95
80% off
Take This Course
  • Lectures 46
  • Length 5.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 8/2015 English

Course Description

JOIN THE OTHER 20,000 SUCCESSFUL STUDENTS WHO HAVE ALREADY MASTERED SHELL SCRIPTING AND THE LINUX OPERATING SYSTEM WITH ONE OF MY TOP RATED COURSES!

If you want to learn how to write 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 an instructor to thousands of satisfied students. 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 shell scripting and bash programming experience with you throughout this course.

By the end of this course you will be able to create shell 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 Shell Scripting course:

  • A step-by-step process of writing shell scripts that solve real-world problems.
  • The #1 thing you must do every time you create a shell script.
  • How to quickly find and fix the most common shell scripting errors.
  • For those of you who want to start scripting 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 shell 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.

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 Shell 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 shell scripts like a pro!

What are the requirements?

  • Some knowledge of the command line would be helpful, but not required.
  • Access to a Mac, Unix, or Linux computer.

What am I going to get from this course?

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

What is the target audience?

  • Anyone interested in shell scripting or shell programming.
  • Do not take this course if you are only interested in Windows scripting.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Start Here - Course Overview and Downloads
Course Overview
Preview
01:38
01:03

Download all the source code examples and the solutions to the practice exercises attached to this lecture.

Section 2: Shell Scripting, Succinctly
Section Introduction
00:49
Shell Scripting, Part I
08:38
Shell Scripting, Part II
07:11
Shell Scripting
8 questions
Practice Exercises
2 pages
Section 3: Exit Statuses and Return Codes
Exit Statuses and Return Codes
Preview
08:52
Exit Status Demo
05:56
Exit Statuses and Return Codes
9 questions
Practice Exercises
1 page
Section 4: Functions
Functions, Part I
07:18
Functions, Part II
04:48
Functions
8 questions
Practice Exercises
1 page
Review
00:27
Section 5: Shell Script Checklist and Template
Shell Script Checklist and Template (Video)
01:59
Shell Script Check List and Template
2 pages
Section 6: Wildcards
Introduction to Wildcards
00:23
Wildcard Introduction, Part I
05:12
Wildcard Introduction, Part II
07:03
Wildcards in Shell Scripts
03:42
Wildcard Scripting Demo
04:01
Wildcards
5 questions
Practice Exercises
1 page
Section 7: Case Statements
Case Statements
05:43
Case Statements
4 questions
Practice Exercises
1 page
Section 8: Logging
Logging
07:40
Logging
3 questions
Practice Exercises
1 page
Section 9: While Loops
While Loops, Part I
05:42
While Loops, Part II
05:48
While Loops
5 questions
Practice Exercises
2 pages
Section 10: Debugging
Debugging Essentials
08:08
More Debugging Tips
11:39
Debugging
10 questions
Practice Exercises
1 page
Section 11: Scripts Used to Create This Course
Scripts Used to Create This Course
03:59
Section 12: Slides
Course Overview
4 pages
Shell Scripting Introduction
2 pages
Shell Scripting, Succinctly
46 pages
Exit Statuses and Return Codes
15 pages
Functions
23 pages
Shell Script Checklist and Template
2 pages
Wildcards
11 pages
Wildcards in Scripts
10 pages
Case Statements
10 pages
Logging
10 pages
While Loops
21 pages
Debugging Essentials
14 pages
Debugging - More Tips
18 pages
Scripts Used to Create This Course
7 pages

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Jason Cannon, Professional system administrator, consultant, and author.

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

Jason has professional experience with CentOS, RedHat Enterprise Linux, SUSE Linux Enterprise Server, and Ubuntu. He has used several Linux distributions on personal projects including Debian, Slackware, CrunchBang, 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" and "Command Line Kung Fu."

Ready to start learning?
Take This Course