Chapter 2. Shell Programming QuickStart
Taking a Peek at Shell Scripts
If you read, write, or maintain programs, the following samples will give you a quick overview of the construction and style of a shell script and introduce you to some of the constructs and syntax found in these programs. Note: If you are not familiar with programming, skip this chapter and go to Chapter 3. When you have finished learning how to write scripts, you may want to return to this chapter for a quick reference to refresh your memory.
The C shell and TC shell emulate the C language syntax whereas the Bourne shell is based on an older programming language called Algol. ...
Get UNIX® Shells by Example Fourth 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.