Books & Videos

Table of Contents

Chapter: Introduction

Bash Scripting Fundamentals: Introduction

01m 13s

Chapter: Lesson 1: Creating Your First Shell Script

Learning objectives

00m 36s

1.1 Why Scripting in Bash Makes Sense

02m 38s

1.2 Choosing an Editor

02m 44s

1.3 Core Bash Script Ingredients

07m 1s

1.4 Storing and Running the Script

06m 52s

1.5 Using Bash Internal Commands versus External Commands

03m 26s

1.6 Finding Help About Scripting Components

03m 29s

Exercise 1

00m 47s

Exercise 1 Solution

03m 51s

Chapter: Lesson 2: Working with Variables and Parameters

Learning objectives

00m 39s

2.1 About Terminology

01m 56s

2.2 Using and Defining Variables

04m 56s

2.3 Defining Variables with the read Command

09m 13s

2.4 Understanding Variables and Subshells

06m 23s

2.5 Sourcing

06m 24s

2.6 Quoting

07m 31s

2.7 Handling Script Arguments

13m 56s

2.8 Understanding the Need to Use Shift

04m 21s

2.9 Using Command Substitution

02m 14s

2.10 String Verification

04m 16s

2.11 Using Here Documents

05m 2s

Exercise 2

00m 44s

Exercise 2 Solution

01m 49s

Chapter: Lesson 3: Transforming Input

Learning objectives

00m 34s

3.1 Working with Substitution Operators

05m 34s

3.2 Using Pattern Matching Operators

06m 40s

3.3 Understanding Regular Expressions

03m 22s

3.4 Calculating

04m 42s

Exercise 3

00m 50s

Exercise 3 Solution

01m 46s

Chapter: Lesson 4: Using Essential External Tools

Learning objectives

00m 29s

4.1 Using grep

02m 19s

4.2 Using test

05m 25s

4.3 Using cut and sort

04m 40s

4.4 Using tail and head

01m 21s

4.5 Using sed

03m 40s

4.6 Using awk

04m 37s

4.7 Using tr

01m 32s

Exercise 4

00m 52s

Exercise 4 Solution

01m 41s

Chapter: Lesson 5: Using Conditional Statements

Learning objectives

00m 25s

5.1 Using if then fi

03m 36s

5.2 Using && and ||

05m 44s

5.3 Using for

07m 35s

5.4 Using case

04m 53s

5.5 Using while and until

05m 32s

Exercise 5

01m 37s

Exercise 5 Solution

02m 38s

Chapter: Lesson 6: Using Advanced Scripting Options

Learning objectives

00m 28s

6.1 Working with Options

05m 30s

6.2 Using Functions

03m 44s

6.3 Working with Arrays

04m 30s

6.4 Defining Menu Interfaces

06m 28s

6.5 Using trap

02m 29s

Exercise 6

01m 12s

Exercise 6 Solution

07m 28s

Chapter: Lesson 7: Script Debugging and Analyzing

Learning objectives

00m 36s

7.1 Design Considerations

03m 32s

7.2 Common Analyzing Tools

03m 59s

7.3 Using bash -x

01m 59s

Exercise 7

00m 33s

Exercise 7 Solution

05m 57s

Chapter: Lesson 8: Scripting by Example

Learning objectives

00m 35s

8.1 Monitoring CPU Utilization Part 1

10m 38s

8.2 Monitoring CPU Utilization Part 2

09m 3s

8.3 Practicing Calculation

07m 21s

8.4 Reading an init Script

06m 28s

8.5 Using a Countdown Script

03m 33s

8.6 Efficient if then fi

04m 53s

8.7 Simple Process Monitoring

06m 38s

Chapter: Summary

Bash Scripting Fundamentals: Summary

00m 25s