As mentioned in lab 2, scripting languages are similar to batch files in DOS
but are more powerful. They include variables, looping, conditional execution etc. 
We already saw how to write a simple shell script, 
here we introduce variables, conditional statements and loops. 
For a full description refer to the UNIX in a nutshell book.
There are also several courses available on the WEB.
For example a very nice introductory course in bourne shell can be found here:
    http://www.emerson.emory.edu/services/unixhelp1.3/Pages/scrpt/