In this course, you will develop all of the skills you need to write effective and complex shell scripts that can automate mundane tasks and complex implementations. We will walk you through all of the major components and keywords in shell scripting (loops, conditionals, functions, error handling, traps, signals, and more) so you can effectively write your scripts to handle any situation.
- Chapter 1 2 Lessons Introduction 2:20
Course Introduction
1:14About the Training Architect
1:06 - Chapter 2 6 Lessons Basics of Bash Scripting 36:23
What Is Bash Scripting?
7:19Working with Special Characters
7:17Implementing and/or Lists
8:18Redirecting I/O, Utility Commands, and Pipes
10:35Demoggification (or UUOC: Useless Use of cat)
2:54Using bash To Write a Backup Script
0:00 Hands-On Lab - Chapter 3 4 Lessons Variables 19:40
What Do Variables Look Like and How Do We Use Them?
6:27Introducing Bash Functions
8:18Working with Arrays in Bash
4:55Using Variables in a bash Backup Script
0:00 Hands-On Lab - Chapter 4 3 Lessons Substitutions 8:45
Command Substitutions
4:13Process Substitutions
4:32Incorporating Substitutions in an Already Existing Backup Script
0:00 Hands-On Lab - Chapter 5 5 Lessons Flow Control 30:49
Using the for Loop
5:21Using the while or until Loop
7:10Handling Signals and Traps
6:49Using Exit Status, Tests, and Builtins
11:29Implementing bash Flow Control in an Existing Backup Script
0:00 Hands-On Lab - Chapter 6 2 Lessons Learning about Heredocs 8:55
What Is a Heredoc?
4:46What Is a Herestring?
4:09 - Chapter 7 2 Lessons Debugging Bash Scripts 19:20
Using Bash Builtins to Troubleshoot Problems: Part 1
11:55Using Bash Builtins to Troubleshoot Problems: Part 2
7:25 - Chapter 8 3 Lessons Quick and Dirty Regex in Bash 11:55
What Is Regex?
4:48How Does Bash Regex Work?
7:07Implementing bash Regex in an Existing Backup Script
0:00 Hands-On Lab - Chapter 9 3 Lessons Best Practices 17:32
Reviewing Objectively Bad Scripts
6:43Reviewing Objectively Good Scripts (and Improving Bad Ones)
6:26Reviewing Portability Issues
4:23 - Chapter 10 1 Lesson Conclusion 1:25
Course Summary
1:25