Cademy logoCademy Marketplace

Course Images

Bash Scripting and Shell Programming (Linux Command Line)

Bash Scripting and Shell Programming (Linux Command Line)

🔥 Limited Time Offer 🔥

Get a 10% discount on your first order when you use this promo code at checkout: MAY24BAN3X

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • On-Demand course

  • 1 hour 57 minutes

  • All levels

Description

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

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

What You Will Learn

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 checklist -- You ll never have to guess what to include in each of your shell scripts again. Just use this simple checklist.
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.

Audience

Anyone interested in shell scripting or shell programming.

Approach

A step-by-step process of writing bash shell scripts that solve real-world problems.

Key Features

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.

Github Repo

https://github.com/packtpublishing/bash-scripting-and-shell-programming-linux-command-line-

About the Author

Jason Cannon

Jason Cannon is a professional system administrator, consultant, and author. He 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.

Course Outline

1. Bash Programming Course Overview and Downloads

1. Course Overview

Bash Programming Course Overview and Downloads: Course Overview

2. Course Downloads, Including the scripts used in the course and a cheat sheet

Bash Programming Course Overview and Downloads: Course Downloads, Including the scripts used in the course and a cheat sheet


2. Shell Scripting in a Nutshell

1. Section Introduction

Shell Scripting in a Nutshell: Section Introduction

2. Shell Scripting, Part I

Shell Scripting in a Nutshell: Shell Scripting, Part I

3. Shell Scripting, Part II

Shell Scripting in a Nutshell: Shell Scripting, Part II


3. Return Codes and Exit Statuses

1. Exit Statuses and Return Codes

Return Codes and Exit Statuses: Exit Statuses and Return Codes

2. Exit Status Demo

Return Codes and Exit Statuses: Exit Status Demo


4. Shell Functions

1. Functions, Part I

Shell Functions: Functions, Part I

2. Functions, Part II

Shell Functions: Functions, Part II


5. Shell Script Checklist and Template

1. Shell Script Checklist and Template

Shell Script Checklist and Template: Shell Script Checklist and Template


6. Wildcards

1. Introduction to Wildcards

Wildcards: Introduction to Wildcards

2. Wildcard Introduction, Part I

Wildcards: Wildcard Introduction, Part I

3. Wildcard Introduction, Part II

Wildcards: Wildcard Introduction, Part II

4. Wildcards in Shell Scripts

Wildcards: Wildcards in Shell Scripts

5. Wildcard Scripting Demo

Wildcards: Wildcard Scripting Demo


7. Case Statements and Logic

1. Case Statements

Case Statements and Logic: Case Statements


8. Logging

1. Logging

Logging: Logging


9. While Loops

1. While Loops, Part I

While Loops: While Loops, Part I

2. While Loops, Part II

While Loops: While Loops, Part II


10. Debugging Your Bash Programs

1. Debugging

Debugging Your Bash Programs: Debugging

2. More Debugging Tips

Debugging Your Bash Programs: More Debugging Tips


11. Shell Scripts Used to Create This Course

1. Scripts Used to Create This Course

Shell Scripts Used to Create This Course: Scripts Used to Create This Course

Course Content

  1. Bash Scripting and Shell Programming (Linux Command Line)

About The Provider

Packt
Packt
Birmingham
Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and i...
Read more about Packt

Tags

Reviews