Shell Script Debugging
Difficulty: Intermediate
Duration: 8 minutes and 8 seconds
Students: 1,115
Rating: 4.5/5
In this lesson, you will learn about the options built into Bash that will help you find and fix errors in your shell scripts.
Learning Objectives
- Learn a range of commands used or debugging.
- Use variables to control the behavior of your shell scripts and help you in debugging.
- Learn how to manually debug a script.
- Understanding syntax highlighting and how that can help you avoid common mistakes.
- Learn about a special Bash variable that you can use to give you valuable information about what is happening inside of your scripts.
- Learn about the differences between Windows and Linux file types and the problems you may encounter if you plan to use multiple operating systems to create scripts.
Intended Audience
This lesson is intended for anyone looking to learn more about bash scripting and shell programming.
Prerequisites
To get the most out of this lesson, you should have some basic knowledge of the command line, but it's not essential.