In linux, in bash scripting, for the if/else statements, if and elif have the [...] keyword after the condition clause while else does not have it.
Answer
then
Question
In linux, in bash scripting, for the if/else statements, if and elif have the [...] keyword after the condition clause while else does not have it.
Answer
?
Question
In linux, in bash scripting, for the if/else statements, if and elif have the [...] keyword after the condition clause while else does not have it.
Answer
then
If you want to change selection, open document below and click on "Move attachment"
7. Shell Scripting fi (``if'' spelled backwards). 5 X=10 Y=5 if test "$X" -gt "$Y" ; 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" ; <span>then echo "$X is greater than $Y" elif test "$X" -lt "$Y" ; then echo "$X is less than $Y" else echo "$X is equal to $Y" fi Now let us create a script that interprets its arguments. Create a
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.