In linux, in bash scripting, for the case statement, the entire block starts with keyword case and ends with keyword [...]
Answer
esac
^^ case in reverse, similar to if/fi
Question
In linux, in bash scripting, for the case statement, the entire block starts with keyword case and ends with keyword [...]
Answer
?
Question
In linux, in bash scripting, for the case statement, the entire block starts with keyword case and ends with keyword [...]
Answer
esac
^^ case in reverse, similar to if/fi
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
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.