Chapter 18. Writing Shell Scripts

The Solaris Operating Environment includes three shells: Bourne, Korn, and C. Each shell has its own high-level programming language that you can use to execute sequences of commands, select among alternative operations, perform logical tests, and repeat program actions. The Bourne and Korn shells use almost identical syntax, although the Korn shell is a superset of the Bourne shell and provides more functionality, including history and array capability. The Bourne shell is used for most scripts that are distributed with the Solaris Operating Environment. The C shell uses a syntax that is similar to C programming language syntax, and it has built-in capabilities not provided with the Bourne shell, such as history ...

Get Solaris™ 8 Advanced System Administrator's Guide, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.