![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 27.03.2020 02:13 logsdonella
Consider the following valid shell script:
#1 /bin/bash
sum= 0
TMP1-./TMP1
echo -e "81n7\n6" $TMP1
while read num
do
echo "TRACE: In Loop"
echo "TRACE: num: $num"
sum- expr $sum $num
echo "TRACE: sum: $sum"
echo -e "TRACE: End of Loop\n"
done < $TMP1
Which one of the following statements is correct: Group of answer choices
a. The contents of the file TMP1 will be read into the while loop.
b. This script will exit with an error, because no file named TMP1 will exist when the while loop runs.
c. The variable sum will contain the value 23 at the end of the script, just before it exits and is unloaded from memory.
d. The first line has no effect: whatever shell you run this script from will be the shell of execution, not the one indicated in the first line.
e. The backtick characters in the line with sum and expr can be replaced with double quote characters, like so; sum-"expr $sum+ Snum", and the numerical summation intended will still occur.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:00, raizagisselle1273
If a client wants to make minor edits, what should he/she use?
Answers: 3
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:40, 29delphina
Joe needs to see the slide transitions and animations he has applied to his slides in a large view. which presentation view should he use? in which tab would joe find the animations option to make further changes, if any?
Answers: 1
You know the right answer?
Consider the following valid shell script:
#1 /bin/bash
sum= 0
TMP1-./TMP1...
#1 /bin/bash
sum= 0
TMP1-./TMP1...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.12.2021 01:00
![Konu](/tpl/images/cats/mkx.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 10.12.2021 01:00
![Konu](/tpl/images/cats/mkx.png)
Arts, 10.12.2021 01:00
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.12.2021 01:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.12.2021 01:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.12.2021 01:00