#Learn Bash Quickly


Master Bash Scripting and learn how to automate boring Linux tasks.

What you will learn

☑ Automate boring Linux tasks with Bash Scripts

☑ Looping in Bash

☑ Decision Making in Bash

☑ Working with Bash Variables, Arguments, and Loops

☑ Creating Bash Functions

☑ Using Arithmetic Operations in Bash Scripts

☑ Manipulating Strings with Bash

☑ Using Arrays in Bash

Description

This course also include my 3 bestseller books (in eBook version):

  1. Learn Bash Quickly
  2. Learn Linux Quickly
  3. Learn Ansible Quickly (RHCE)

Master Bash Scripting and learn how to automate boring administrative Linux tasks.

Key Features

  • Create and run efficient Bash scripts
  • Implement Bash functions
  • Automate complex and repetitive tasks

Course Description

Learn Bash Quickly is a fully practical hands-on course for learning bash scripting. It will get you up and running with bash scripting in no time.

First, you will break the ice with Bash scripting by creating and running a very simple “Hello World” program. Then, you will dive into the world of Bash variables, arguments, string, and arrays. Also, you will learn how to use conditional statements in your bash script. Moreover, you will explore various Bash looping constructs and get to realize how powerful they are. In addition, you will get to write Bash functions, so your code looks clean and unrepetitive. Finally, you will see how you can use bash to automate some of the tedious tasks on Linux.

By the end of this course, you will have all the skills necessarily to develop state of the art bash scripts that can automate any repetitive task you may encounter while working on Linux systems.

What you will learn

  • Understand how to work with Bash variables, arguments, string, and arrays.
  • Make your Bash scripts smarter with conditional statements.
  • Analyse various Bash looping constructs.
  • Design and create recursive Bash functions.
  • Automate boring administrative tasks.

Who This Course Is For

If you are tired of spending countless hours doing the same tedious task on Linux over and over again then this course is for you! Learn Bash Quickly will teach you all the skills you need to automate borings tasks in Linux. You will be much more efficient working on Linux after taking this course, more importantly, you will get more sleep, I promise you!

Learn Bash Quickly does assume prior Linux knowledge and that you have experience working on the Linux command line.

Table of Contents

  • Hello World
  • Bash Variables
  • Bash Script Arguments
  • Bash Arrays
  • Basic Arithmetic Operations
  • Bash Strings
  • Decision Making in Bash
  • Bash Loops
  • Bash Functions
  • Automation with Bash
  • Solutions to Bash Exercises

English

Language

Content

Course Introduction & Creating a Linux VM

Course Slides

Course Prerequisites

Our Course Plan

Creating a Linux VM

Create a Linux VM on Azure ☁

Creating a Linux VM on VirtualBox

Creating a Linux VM on VMware Workstation Player

Hello Bash

Create and Run Your First Shell Script

Convert Your Shell Script into a Bash Script (shebang)

Editing Your PATH Variable

Adding Comments

Bash Challenge #1: Print number of CPU cores

Bash Variables

Using Variables in Bash Scripts

Variables & Data Types

Constant Variables

Command Substitutions

A Smarter “Hello, Friend!” Script

Bash Challenge #2: Print Calendar of a given year

Bash Script Arguments

Passing one Argument to a Bash Script

Passing Multiple Arguments to a Bash Script

Getting Creative With Arguments

Special Bash Variables

Bash Challenge #3: Convert Case

Bash Arrays

Creating Your First Array

Accessing Array Elements

Adding Array Elements

Deleting Array Elements

Creating Hybrid Arrays

Bash Challenge #4: Sort an Array

Basic Arithmetic Operations

Addition and Subtraction

Multiplication and Division

Powers and Remainders

Celsius to Fahrenheit Calculator

Bash Challenge #5: Calculate net salary

String Operations in Bash

Getting String Length

Concatenating Strings

Finding Substrings

Extracting Substrings

Replacing Substrings

Deleting Substrings

Converting Upper and Lowercase Letters

Bash Challenge #6: Remove Asterisks from String

Decision Making in Bash

Using if Statement

Using if-else Statement

Using elif Statement (else-if)

Using Nested if Statements

Using case Statement

Bash Test Conditions

Bash Challenge #7: Leap Year

Bash Loops

For Loops in Bash #1 C-Style

For Loops in Bash #2 List/Range

While Loops in Bash

Until Loops in Bash

Traversing Array Elements

Using break & continue in Loops

Beware of Infinite Loops

Bash Challenge #8: Ping a bunch of servers

Bash Functions

Creating Bash Functions

Returning Function Values

Passing Arguments To Bash Functions

Local and Global Variables

Recursive Functions

Bash Challenge #9: Calculate the GCD

Automating Boring Tasks with Bash

Creating our Automation Playground

Automating User Management

Automating Backups

Monitoring Disk Space

Bash Challenge #10: Automatic Downtime Monitor

More Bash Lectures!

Debugging your Bash Scripts

Running a Bash Script from Another One!

Course Outro

What’s next?

Solutions to Bash Challenges

Bash Challenge #1 Solution

Bash Challenge #2 Solution

Bash Challenge #3 Solution

Bash Challenge #4 Solution

Bash Challenge #5 Solution

Bash Challenge #6 Solution

Bash Challenge #7 Solution

Bash Challenge #8 Solution

Bash Challenge #9 Solution

Bash Challenge #10 Solution

Bonus Material

Learn Linux Quickly Ebook

Learn Bash Quickly Ebook

Learn Ansible Quickly (RHCE) Ebook


Enroll for Free


💠 Follow this Video to Get Free Courses on Every Udemy Topics! 💠

The post Learn Bash Quickly first appeared on StudyBullet.

LihatTutupKomentar