Chapter 28. Programming the Bourne Again Shell

Chapters 7 and 9 introduced the Bourne Again Shell. This chapter describes additional commands, builtins, and concepts that carry shell programming to a point where it can be useful. The first programming constructs covered are control structures, or control flow constructs. These structures allow you to write scripts that can loop over command line arguments, make decisions based on the value of a variable, set up menus, and more. The Bourne Again Shell uses the same constructs found in such high-level programming languages as C.

This chapter goes on to explain how the ...

Get A Practical Guide to Red Hat Linux: Fedora Core and Red Hat Enterprise Linux, Second 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.