Chapter 11. Loops and Branches

Table of Contents

1. Loops
2. Nested Loops
3. Loop Control
4. Testing and Branching

What needs this iteration, woman?

--Shakespeare, Othello

Operations on code blocks are the key to structured and organized shell scripts. Looping and branching constructs provide the tools for accomplishing this.