Using Looping Structures II
until loop
In addition to a while loop, you can also use an until loop in your script. It works in the
opposite manner. An until loop runs over and over as long as the condition is false. As soon as
the condition is true, it stops. The structure for an until loop is as follows:
until condition
do
script commands
done
LX0-104 Exam Objectives (F)
No comments:
Post a Comment