Linux Shell Programming For Beginners

The Complete course to master Bash shell scripting for Linux

Last updated 2022-01-10 | 4.1

- Learn professional shell scripting skills
- Learn to create efficient scripts for mundane tasks
- Do routine tasks faster

What you'll learn

Learn professional shell scripting skills
Learn to create efficient scripts for mundane tasks
Do routine tasks faster
Learn inner workings of the bash shell

* Requirements

* Basic knowledge of Linux is required for this course

Description

Want to feel like an awesome spy hacker similar to the one in the movies that opens a command line terminal and manages to complete complicated tasks using a few simple codes? Well, this can be a reality using BASH.

A huge chunk of a programmer’s time is wasted in trying to repeat codes and processes, especially when it comes to working with UNIX or Linux. The constant commands that are required to program or create systems is a tedious and long process.

Well, here’s how you can eliminate that and save a whole buncha time – BASH

Bourne Again Shell, more popularly known as BASH is a UNIX/Linux shell and a command line interpreter that runs commands from a standard input file. This shell comes with a nifty feature that allows you to reduce the amount of commands that you have to call personally by automating them.

Our Shell Scripting course has been specifically designed to teach you how to use BASH to shave hours from your coding practice. Learn how to write shell scripts, learn how command history, echo command and even variables work, along with how to automate simple and complex commands. This BASH tutorial doesn’t even require you to have previously worked with BASH. All it needs is for you to be familiar with UNIX or Linux and have a machine that runs UNIX or Linux – that’s it! That’s all you need to be on your way to learning automation.

The course starts at the very beginning including what is BASH, what are shells, what do you  mean by shell scripts, customizing your shell, difference between a shell script and an interactive shell, command line-options, statements, loops and so much more.

In addition to providing you with theoretic information about BASH and Shell Scripting, the course will also give numerous examples at every step to get you familiar with how scripting works and what happens when you execute a certain script. Additionally, you will also be provided with all the scripts that were used by the instructor to try on your own.

Learn how to write well documented, modular, efficient and complex shell scripts, automate daily routines, basic programming concepts such as loops, commands and statements, how to effectively write command line processing, process management and even manipulate command-line functions.

So, what are you waiting for? Click Enroll and unleash the power of scripts!

Who this course is for:

  • Anyone who wants to be a skilled linux user and developer will find this course useful

Course content

12 sections • 47 lectures

Introduction to BASH Preview 15:39

The “directory” concept Preview 16:59

Running jobs in the background Preview 16:55

Introduction to Bash Quiz

The interactive mode Preview 18:08

The vi editing mode Preview 16:40

Using the fc command Preview 15:47

Command Line Tips and Tricks Quiz

The BASH environment Preview 15:05

Shell options Preview 14:19

Single and double quotes Preview 15:14

The shell prompt variables Preview 15:09

The CDPATH variable Preview 11:34

Customizing your Shell Quiz

Shell Programming Essentials Preview 15:50

Positional Variables Preview 15:47

Manipulating variables in place Part A Preview 10:28

Manipulating variables in place Part B Preview 11:55

Using patterns in string operations Preview 16:27

Assigning command output to variables Preview 07:34

Understanding Shell Scripts Quiz

Deciision Making Preview 18:56

More elegant ways of testing conditions Preview 12:49

Testing for integers Part A Preview 10:18

Testing for integers Part B Preview 10:54

The select statement Preview 19:52

Condition and Loops Quiz

Command-line options Preview 19:45

More Complex options: the getopts command Preview 14:49

LAB: adding more opions to highest.st Preview 15:21

Increment and decrement operators Preview 15:34

The for loop revisited Part A Preview 10:30

The for loop revisited Part B Preview 10:33

BASH I/O Preview 15:55

The echo command Preview 16:48

LAB: enhancing the log rotation script Preview 18:03

Process Management Preview 16:00

Process signals Preview 13:45

Reacting to signals Part A Preview 10:38

Reacting to signals Part B Preview 11:41

BASH Administration Preview 13:18

Setting default file permissions Part A Preview 10:18

Setting default file permissions Part B Preview 13:37

Summary Preview 05:06

Bonus Lecture: More Interesting Stuff, Offers and Discounts Preview 00:23