Bash Scripting Complete Video Course

Bash Scripting Complete Video Course

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

More than 9 hours of video instruction to help you learn bash from the ground up–from fundamental scripting concepts to complex scripting techniques–plus hands-on exercises, concept quizzes, and scripting simulations to help you practice your work and check your results

Bash Scripting Complete Video Course teaches you everything you need to know about shell scripting, from novice scripting to advanced script analysis and scripting for performance. This course consists of 16 lessons that take you from learning Bash basics to advanced scripting concepts. Each lesson contains practical examples to show how scripting solutions are being used in the real world. Each lesson concludes with an exercise, so you can test your own skills. A video explanation is also included so you can follow along and check your work. You will end the course by going beyond Bash and starting your first Python project.

The video lessons cover the following topics:

  • Bash scripting fundamentals
  • Creating your first shell script
  • Working with variables and parameters
  • Transforming input
  • Using essential external tools
  • Using conditional statements
  • Using advanced scripting options
  • Script debugging and analyzing
  • Scripting by example
  • Advanced Bash Scripting
  • Reviewing basics
  • Scripting best practices
  • Understanding syntax differences
  • Using advanced awk, sed, and regular expressions
  • Analyzing advanced scripts
  • Writing a complex script
  • Scripting for performance
  • Beyond Bash; scripting in Python

What You Will Learn

  • Bash scripting from fundamentals to advanced
  • Real-world scripting examples

Who Should Take This Course

The target audience for this course consists of Linux users and professionals who want to automate tasks in Linux using Bash shell scripts. A secondary target audience consists of IT users and professionals who want to get experience with simple programming languages.

Table of Contents

1 Introduction
2 Introduction
3 Learning objectives
4 1.1 Why Scripting in Bash Makes Sense
5 1.2 Choosing an Editor
6 1.3 Core Bash Script Ingredients
7 1.4 Storing and Running the Script
8 1.5 Using Bash Internal Commands versus External Commands
9 1.6 Finding Help About Scripting Components
10 Exercise 1
11 Exercise 1 Solution
12 Learning objectives
13 2.1 About Terminology
14 2.2 Using and Defining Variables
15 2.3 Defining Variables with the read Command
16 2.4 Understanding Variables and Subshells
17 2.5 Sourcing
18 2.6 Quoting
19 2.7 Handling Script Arguments
20 2.8 Understanding the Need to Use Shift
21 2.9 Using Command Substitution
22 2.10 String Verification
23 2.11 Using Here Documents
24 Exercise 2
25 Exercise 2 Solution
26 Learning objectives
27 3.1 Working with Substitution Operators
28 3.2 Using Pattern Matching Operators
29 3.3 Understanding Regular Expressions
30 3.4 Calculating
31 Exercise 3
32 Exercise 3 Solution
33 Learning objectives
34 4.1 Using grep
35 4.2 Using test
36 4.3 Using cut and sort
37 4.4 Using tail and head
38 4.5 Using sed
39 4.6 Using awk
40 4.7 Using tr
41 Exercise 4
42 Exercise 4 Solution
43 Learning objectives
44 5.1 Using if then fi
45 5.2 Using && and
46 5.3 Using for
47 5.4 Using case
48 5.5 Using while and until
49 Exercise 5
50 Exercise 5 Solution
51 Learning objectives
52 6.1 Working with Options
53 6.2 Using Functions
54 6.3 Working with Arrays
55 6.4 Defining Menu Interfaces
56 6.5 Using trap
57 Exercise 6
58 Exercise 6 Solution
59 Learning objectives
60 7.1 Design Considerations
61 7.2 Common Analyzing Tools
62 7.3 Using bash -x
63 Exercise 7
64 Exercise 7 Solution
65 Learning objectives
66 8.1 Monitoring CPU Utilization Part 1
67 8.2 Monitoring CPU Utilization Part 2
68 8.3 Practicing Calculation
69 8.4 Reading an init Script
70 8.5 Using a Countdown Script
71 8.6 Efficient if then fi
72 8.7 Simple Process Monitoring
73 Bash Scripting Fundamentals – Summary
74 Introduction
75 Learning objectives
76 1.1 Using Pattern Matching
77 1.2 Using Command Substitution
78 1.3 Using Arguments and Variables
79 1.4 Using Iteration Structures (Part 1)
80 1.5 Using Iteration Structures (Part 2)
81 1.6 Using Arrays
82 1.7 Using Functions
83 1.8 Analyzing Math Script
84 Exercise 1
85 Exercise 1 Solution (Part 1)
86 Exercise 1 Solution (Part 2)
87 Learning objectives
88 2.1 Organizing Scripts
89 2.2 Working With Include Files
90 2.3 Using Internal vs. External Commands
91 2.4 Making Shell Scripts More Secure
92 2.5 Analyzing Foo Script
93 2.6 Analyzing Cd Script
94 Exercise 2
95 Exercise 2 Solution
96 Learning objectives
97 3.1 Understanding the Origins of Bash
98 3.2 Using Bourne Style Syntax
99 3.3 Using C-Style Syntax
100 3.4 Using Different Methods to Test
101 3.5 Using Different Methods to Calculate
102 3.6 Analyzing Tcsh Script
103 3.7 Analyzing Tcsh Script in Bash
104 Exercise 3
105 Exercise 3 Solution
106 Learning objectives
107 4.1 Using Regular Expressions
108 4.2 Understanding sed Basics
109 4.3 Performing Advanced sed Operations
110 4.4 Understanding awk Basics
111 4.5 Performing Advanced awk Operations
112 Exercise 4
113 Exercise 4 Solution
114 Learning objectives
115 5.1 Analyzing the Structure
116 5.2 Analyzing the Parts in the Script
117 5.3 Analyzing the _etc_init.d_network Script
118 5.4 Analyzing the _etc_profile Script
119 Exercise 5
120 Exercise 5 Solution
121 Learning objectives
122 6.1 Defining the Mission Statement
123 6.2 Creating the Script Structure
124 6.3 Writing the Code
125 6.4 Considering Next Steps (Part 1)
126 6.5 Considering Next Steps (Part 2)
127 6.6 Implementing Next Steps
128 Exercise 6
129 Exercise 6 Solution (Part 1)
130 Exercise 6 Solution Part 2
131 Learning objectives
132 7.1 Optimizing Loops
133 7.2 Minimizing File Writes
134 7.3 Minimizing External Command Usage
135 7.4 Avoiding Useless Commands (cat _etc_passwd _ grep root)
136 7.5 Minimizing Operations
137 7.6 Analyzing Script Performance with time
138 7.7 Analyzing Script Performance with strace
139 Exercise 7
140 Exercise 7 Solution
141 Learning objectives
142 8.1 Comparing Bash to Python
143 8.2 Programming in Python
144 8.3 Writing your First Python Script
145 8.4 Working with Arguments
146 8.5 Using Indentation
147 8.6 Interactive Python
148 8.7 Writing Output to Files
149 Exercise 8
150 Exercise 8 Solution
151 Advanced Bash Scripting – Summary