UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: whenceChapter 4
The Bourne Shell and Korn Shell
Next: Reference: filename
 

while

while condition
do
    commands
done

While condition is met, do commands. condition is usually specified with the test command. See the Examples under case and test.


Previous: Reference: whenceUNIX in a Nutshell: System V EditionNext: Reference: filename
Reference: whenceBook IndexReference: filename

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System