Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.

Question
In linux, in bash scripting, while loops are inclosed in do/done, while if/else statements are enclosed in [...] / [...]
Answer
if/fi

Question
In linux, in bash scripting, while loops are inclosed in do/done, while if/else statements are enclosed in [...] / [...]
Answer
?

Question
In linux, in bash scripting, while loops are inclosed in do/done, while if/else statements are enclosed in [...] / [...]
Answer
if/fi
If you want to change selection, open document below and click on "Move attachment"

7. Shell Scripting
lt stands for less than). The if command executes all the lines between the if and the fi (if'' spelled backwards). 5 X=10 Y=5 if test "$X" -gt "$Y" ; then echo "$X is greater than$Y" fi The <span>if command in its full form can contain as much as: 5 X=10 Y=5 if test "$X" -gt "$Y" ; then echo "$X is greater than$Y" elif test "$X" -lt "$Y" ; then echo "$X is less than$Y" else echo

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions

### Discussion

Do you want to join discussion? Click here to log in or create user.