Name

while

Synopsis

                  while 
                  (
                  condition
                  )
                  command
               

Execute command while condition is true (see if for a description of allowable conditions). A series of commands must be put within braces.

Get Linux in a Nutshell, Fourth 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.