Advanced Bash Scripting LiveLessons

Advanced Bash Scripting LiveLessons

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 5h 05m | 2.21 GB

Further your scripting skills with this essential Bash training course. Sander van Vugt, best-selling author of Red Hat and general Linux book and video titles, walks you through everything you need to know to take your Bash skills to the next level. This course will teach you scripting best practices and syntax differences. You will also learn how to use advanced awk, sed, and regular expressions before jumping in to how to analyze advanced scripts. After that, you will dig in to how to write complex scripts and explore the concept of scripting for performance. You will then end with scripting in Python.

This course consists of eight lessons that fully explain advanced Bash scripting concepts. Every lesson contains practical examples to show how scripting solutions are being used in the real world. At the end of each lesson, Sander van Vugt will provide a real scripting exercise so you can test your own skills. You can then review your work against the author’s in a solutions video.

Bash scripting intermediate and advanced techniques

Who Should Take This Course

  • The target audience for this course consists of Linux users and professionals who have basic Bash skills and now want to extend their skills automating tasks on Linux using Bash shell scripts. A secondary target audience consists of IT users and professionals who want to get experience with simple programming languages.

The video lessons cover the following topics:

Lesson 1: Reviewing Basics
Lesson 2: Scripting Best Practices
Lesson 3: Understanding Syntax Differences
Lesson 4: Using Advanced awk, sed, and Regular Expressions
Lesson 5: Analyzing Advanced Scripts
Lesson 6: Writing a Complex Script
Lesson 7: Scripting for Performance
Lesson 8: Beyond Bash; Scripting in Python

Table of Contents

01 Advanced Bash Scripting – Introduction
02 Learning objectives
03 1.1 Using Pattern Matching
04 1.2 Using Command Substitution
05 1.3 Using Arguments and Variables
06 1.4 Using Iteration Structures (Part 1)
07 1.5 Using Iteration Structures (Part 2)
08 1.6 Using Arrays
09 1.7 Using Functions
10 1.8 Analyzing Math Script
11 Exercise 1
12 Exercise 1 Solution (Part 1)
13 Exercise 1 Solution (Part 2)
14 Learning objectives
15 2.1 Organizing Scripts
16 2.2 Working With Include Files
17 2.3 Using Internal vs. External Commands
18 2.4 Making Shell Scripts More Secure
19 2.5 Analyzing Foo Script
20 2.6 Analyzing Cd Script
21 Exercise 2
22 Exercise 2 Solution
23 Learning objectives
24 3.1 Understanding the Origins of Bash
25 3.2 Using Bourne Style Syntax
26 3.3 Using C-Style Syntax
27 3.4 Using Different Methods to Test
28 3.5 Using Different Methods to Calculate
29 3.6 Analyzing Tcsh Script
30 3.7 Analyzing Tcsh Script in Bash
31 Exercise 3
32 Exercise 3 Solution
33 Learning objectives
34 4.1 Using Regular Expressions
35 4.2 Understanding sed Basics
36 4.3 Performing Advanced sed Operations
37 4.4 Understanding awk Basics
38 4.5 Performing Advanced awk Operations
39 Exercise 4
40 Exercise 4 Solution
41 Learning objectives
42 5.1 Analyzing the Structure
43 5.2 Analyzing the Parts in the Script
44 5.3 Analyzing the _etc_init.d_network Script
45 5.4 Analyzing the _etc_profile Script
46 Exercise 5
47 Exercise 5 Solution
48 Learning objectives
49 6.1 Defining the Mission Statement
50 6.2 Creating the Script Structure
51 6.3 Writing the Code
52 6.4 Considering Next Steps (Part 1)
53 6.5 Considering Next Steps (Part 2)
54 6.6 Implementing Next Steps
55 Exercise 6
56 Exercise 6 Solution (Part 1)
57 Exercise 6 Solution (Part 2)
58 Learning objectives
59 7.1 Optimizing Loops
60 7.2 Minimizing File Writes
61 7.3 Minimizing External Command Usage
62 7.4 Avoiding Useless Commands (cat _etc_passwd _ grep root)
63 7.5 Minimizing Operations
64 7.6 Analyzing Script Performance with time
65 7.7 Analyzing Script Performance with strace
66 Exercise 7
67 Exercise 7 Solution
68 Learning objectives
69 8.1 Comparing Bash to Python
70 8.2 Programming in Python
71 8.3 Writing your First Python Script
72 8.4 Working with Arguments
73 8.5 Using Indentation
74 8.6 Interactive Python
75 8.7 Writing Output to Files
76 Exercise 8
77 Exercise 8 Solution
78 Advanced Bash Scripting – Summary