Programming the Shells



next up previous contents
Next: Introduction Up: Programming the Shell Previous: Programming the Shell

Programming the Shells

The basics of both the Bourne and the C shells have already been introduced. This chapter will concentrate on programming the shells.

All examples shown will use the Bourne shell. Most shell scripts are written in the Bourne shell because it is the only shell found on *ALL* UNIX systems. Scripts written in the Korn shell are gaining popularity.

C shell scripts are possible, but not recommended. Although the C shell is great for interactive work, it has many drawbacks in script programming.





Super-User
Fri Feb 17 15:55:40 EST 1995