Chapter 8. Programming the Bourne Shell
Shell programs are usually called shell scripts. Now that you have learned how to use the shell interactively, you are ready to start scripting using what you have learned in addition to the programming constructs provided in this chapter. It doesn't matter whether you are a system administrator, a programmer, or a user. Shell scripts can automate a number of routine tasks to make life a lot easier—and they are fun to write and use!
The Steps in Creating a Shell Script
A shell script is normally written in an editor and consists of commands interspersed with comments. Comments are preceded by a pound ...