Linux Shell Programming for Beginners

Linux Shell Programming for Beginners

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 9h 32m | 7.26 GB

The complete course to master Bash shell scripting for Linux

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 – BASHBourne 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.

What You Will Learn

  • Learn professional shell scripting skills
  • Learn to create efficient scripts for mundane tasks
  • Do routine tasks fasterLearn inner workings of the bash shell
Table of Contents

Course Introduction
Introduction

Introduction to Bash
Introduction to BASS
The “directory” concept
Running jobs in the background

Command Line Tips and Tricks
The interactive mode
The vi editing mode
Using the fc command

Customizing your shell
The BASH environment
Shell options
Single and double quotes
The shell prompt variables
The CDPATH variable

Understanding Shell Scripts
Shell Programming Essentials
Positional Variables
Manipulating variables in place Part A & Part B
Using patterns in string operations
Assigning command output to variables

Condition and Loops
Decision Making
More elegant ways of testing conditions
Testing for integers Part A & Part B
The select statement

Command Line Options
Command-line options
More Complex options: the getopts command
LAB: adding more options to highest.st
Increment and decrement operators
The for loop revisited Part A & Part B

Bash Input Output
BASH I/O
The echo command
LAB: enhancing the log rotation script

Process Management
Process Management
Process signals
Reacting to signals Part A & Part B

Bash Administration
BASH Administration
Setting default file permissions Part A
Setting default file permissions Part B

Best practices
BASH Best Practices

Summary
Summary