In this chapter you’ll learn how to set up program loops. These loops will enable you to execute a set of commands either a specified number of times or until a specific end condition is met.
The three built-in looping commands for shell programming are
You’ll learn about each one of these loops in separate sections of this chapter.
for command is used to execute one or more commands ...