The Bash Shell is the most common shell on Linux systems today. Because of that fact, this course is designed to lead you through the process of not only understanding the Bash Shell but working with the shell to create usable scripts on a Linux/UNIX operating system. This manual represents a self-contained course that is focused on the following features.
First, the Bash Shell Course is designed to be used from start to finish. In other words, topics that come up in later chapters assume you have read, understand and have performed labs on the earlier topics. The course builds as it progresses. With that in mind, it is important that you work through the course step-by-step.
The course approaches each topic with an explanation followed by an example which is then followed by an interactive lab. This process offers the best opportunity for truly learning how to write shell scripts. Labs are a major feature of the course as there are almost 100 labs in this manual. The course is not designed to be read as much as it is designed to be an interactive learning tool. If you want to learn how to create scripts, you must do the labs, there are no shortcuts.
The third feature of the course is that it’s purpose is to teach you Linux commands and their usage in shell scripts. Often you will see the course take a detour and go into a “Build Your Knowledge” section which will provide you with enough information about a Linux command so that you will not only learn them progressively but also be able to use the new command efficiently in the upcoming lab. Pay attention to these “Build Your Knowledge” sections as they are building blocks for use in the course.
The course also features a commitment to creating scripts you can use in Linux administration. You will not sort fruit in this course nor work at mindless scripts that are only illustrations, the goal is to create scripts that you can implement and build upon in a working environment. At the same time, the majority of scripts are shorter in order to focus the learning process and to help with troubleshooting.