Linux Shell Scripting Tutorial (LSST) v1.05r3
Chapter 1: Introduction : Linux Shell basics

What is a Shell Script or shell scripting?

Normally shells are interactive. It means the shell will accept command from you (via keyboard) and execute them. However, if you store a sequence of commands to a text file and tell the shell to execute the text file instead of entering the commands, that is known as a shell program or shell script.

Shell script defined as

"Shell script is a series of command(s) stored in a plain text file. A shell script is similar to a batch file in MS-DOS, but is much more powerfull."

Each shell script consists of

Did you know?

How to use Shell
Why to Write Shell Script ?