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 scripts, when using case statement, for each condition clause, the condition is enclosed in [...] , where the left one is optional.
Answer
round brackets
i.e. ")", since left one is optional and usually ommitted.

Question
In linux, in bash scripts, when using case statement, for each condition clause, the condition is enclosed in [...] , where the left one is optional.
Answer
?

Question
In linux, in bash scripts, when using case statement, for each condition clause, the condition is enclosed in [...] , where the left one is optional.
Answer
round brackets
i.e. ")", since left one is optional and usually ommitted.
If you want to change selection, open document below and click on "Move attachment"

7. Shell Scripting
sh for i in /usr/doc/*/*.txt ; do echo "found a file:" $i done This example demonstrates the shell's ability to search for matching files and expand an absolute path. 7.6 The case Statement The <span>case statement can make a potentially complicated program very short. It is best explained with an example. 5 10 15 20 #!/bin/sh case $1 in --test|-t) echo "you used the --test option" exit 0 ;; --hel

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised 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.