MCQs > IT & Programming > Unix Shell Script > Suppose there are three files test0.sh, test1.sh, and test2.sh in your current directory. Which of the following options would occur during the execution of read statement?

Unix Shell Script MCQs

Suppose there are three files test0.sh, test1.sh, and test2.sh in your current directory. Which of the following options would occur during the execution of read statement?


exec < test0.sh

exec < test2.sh

exec < test3.sh

read line

echo $line

Answer

Correct Answer:

It would read only test3.sh 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Unix Shell Script Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Unix Shell Script Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it