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