ABSTRACT

Many Linux users write and run both types of programs. e developers will write code in C or C++ (or Java). ese tend to be larger programs where compilation is a necessity so that the executable code can be distributed to end-users to run. However, when it comes to small programs, many Linux users and system administrators will write interpreted

programs instead, called scripts. ere are many scripting languages available for Linux including Python, Ruby, PHP, and Perl. Each shell type has its own scripting language as well. In this chapter, we concentrate on the Bash scripting language although at the end of the chapter we brie y compare it to the C-shell scripting language.