Question
In linux, in bash scripting, a [...] is used to put two lines of code on the same line (usually used in while/do/done and if/then/fi cluases to combine the while/do and if/then in one line)
;
^^ semi-colon

Question
In linux, in bash scripting, a [...] is used to put two lines of code on the same line (usually used in while/do/done and if/then/fi cluases to combine the while/do and if/then in one line)
?

Question
In linux, in bash scripting, a [...] is used to put two lines of code on the same line (usually used in while/do/done and if/then/fi cluases to combine the while/do and if/then in one line)
;
^^ semi-colon
If you want to change selection, open document below and click on "Move attachment"

7. Shell Scripting
ion is met ( -gt stands for greater than, -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" <span>; then echo "$X is greater than$Y" fi The 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"

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions