In linux, in bash shell scripting, the while loop syntax is:
while [condition] [...]
<<some lines of code here>> [...]
Answer
do
done
Question
In linux, in bash shell scripting, the while loop syntax is:
while [condition] [...]
<<some lines of code here>> [...]
Answer
?
Question
In linux, in bash shell scripting, the while loop syntax is:
while [condition] [...]
<<some lines of code here>> [...]
Answer
do
done
If you want to change selection, open document below and click on "Move attachment"
7. Shell Scripting program flow so that the shell reads particular commands repeatedly. The while command executes a sequence of commands many times. Here is an example ( -le stands for less than or equal): 5 N=1 <span>while test "$N" -le "10" do echo "Number $N" N=$[N+1] done The N=1 creates a variable called N and places the number 1 into it. The while command executes all the commands between the do and
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.