Introducing UNIX and Linux |
Introduction to shellsOverview |
LoopsIt is often necessary to execute part of a script multiple times. This can be done either a given number of times, or whilst a given condition is met. This construct is known as a loop, and exists in some form in all programming languages. There are two basic type of loop which the shell supports. |
Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck