A shell script may contain one or contain several commands; there is no rule. Then why use a script for a couple of commands? You don’t have to if you don’t want to.
In this chapter we will cover:
reasons for using a shell script;
basic components of a shell script; and
how to run a shell script.