In linux, in bash scripting, when you have a case statement block, each condition block must close with the [...] syntax
Answer
;;
^^ double semi-colon
Question
In linux, in bash scripting, when you have a case statement block, each condition block must close with the [...] syntax
Answer
?
Question
In linux, in bash scripting, when you have a case statement block, each condition block must close with the [...] syntax
Answer
;;
^^ double semi-colon
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
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.