Books & Videos

Table of Contents

Chapter: Bash Scripting


00m 51s

Chapter: Bash Scripting Fundamantals: 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

Chapter: Advanced Bash Scripting: Introduction


01m 29s

Chapter: Lesson 1: Reviewing Basics

Learning objectives

00m 40s

1.1 Using Pattern Matching

03m 40s

1.2 Using Command Substitution

02m 51s

1.3 Using Arguments and Variables

07m 30s

1.4 Using Iteration Structures (Part 1)

07m 32s

1.5 Using Iteration Structures (Part 2)

06m 23s

1.6 Using Arrays

05m 4s

1.7 Using Functions

01m 28s

1.8 Analyzing Math Script

12m 27s

Exercise 1

01m 23s

Exercise 1 Solution (Part 1)

12m 54s

Exercise 1 Solution (Part 2)

05m 45s

Chapter: Lesson 2: Scripting Best Practices

Learning objectives

00m 34s

2.1 Organizing Scripts

02m 13s

2.2 Working With Include Files

03m 44s

2.3 Using Internal vs. External Commands

02m 55s

2.4 Making Shell Scripts More Secure

04m 59s

2.5 Analyzing Foo Script

02m 20s

2.6 Analyzing Cd Script

02m 54s

Exercise 2

00m 25s

Exercise 2 Solution

05m 13s

Chapter: Lesson 3: Understanding Syntax Differences

Learning objectives

00m 35s

3.1 Understanding the Origins of Bash

01m 52s

3.2 Using Bourne Style Syntax

04m 2s

3.3 Using C-Style Syntax

03m 43s

3.4 Using Different Methods to Test

03m 17s

3.5 Using Different Methods to Calculate

03m 21s

3.6 Analyzing Tcsh Script

03m 59s

3.7 Analyzing Tcsh Script in Bash

01m 56s

Exercise 3

00m 20s

Exercise 3 Solution

13m 0s

Chapter: Lesson 4: Using Advanced awk, sed, and Regular Expressions

Learning objectives

00m 39s

4.1 Using Regular Expressions

04m 51s

4.2 Understanding sed Basics

05m 31s

4.3 Performing Advanced sed Operations

08m 28s

4.4 Understanding awk Basics

05m 36s

4.5 Performing Advanced awk Operations

05m 38s

Exercise 4

00m 29s

Exercise 4 Solution

01m 52s

Chapter: Lesson 5: Analyzing Advanced Scripts

Learning objectives

00m 31s

5.1 Analyzing the Structure

01m 27s

5.2 Analyzing the Parts in the Script

01m 47s

5.3 Analyzing the /etc/init.d/network Script

12m 3s

5.4 Analyzing the /etc/profile Script

07m 25s

Exercise 5

00m 39s

Exercise 5 Solution

07m 32s

Chapter: Lesson 6: Writing a Complex Script

Learning objectives

00m 23s

6.1 Defining the Mission Statement

03m 35s

6.2 Creating the Script Structure

02m 56s

6.3 Writing the Code

08m 0s

6.4 Considering Next Steps (Part 1)

11m 16s

6.5 Considering Next Steps (Part 2)

07m 0s

6.6 Implementing Next Steps

02m 21s

Exercise 6

00m 49s

Exercise 6 Solution (Part 1)

12m 53s

Exercise 6 Solution Part 2

14m 15s

Chapter: Lesson 7: Scripting for Performance

Learning objectives

00m 32s

7.1 Optimizing Loops

01m 48s

7.2 Minimizing File Writes

01m 56s

7.3 Minimizing External Command Usage

03m 8s

7.4 Avoiding Useless Commands (cat /etc/passwd | grep root)

01m 53s

7.5 Minimizing Operations

03m 32s

7.6 Analyzing Script Performance with time

01m 57s

7.7 Analyzing Script Performance with strace

01m 44s

Exercise 7

00m 26s

Exercise 7 Solution

10m 39s

Chapter: Lesson 8: Beyond Bash; Scripting in Python

Learning objectives

00m 45s

8.1 Comparing Bash to Python

03m 2s

8.2 Programming in Python

02m 27s

8.3 Writing your First Python Script

01m 5s

8.4 Working with Arguments

02m 7s

8.5 Using Indentation

02m 37s

8.6 Interactive Python

02m 13s

8.7 Writing Output to Files

02m 6s

Exercise 8

00m 37s

Exercise 8 Solution

01m 21s

Chapter: Summary

Advanced Bash Scripting: Summary

00m 31s