Question 14
After executing the following shell script
Which of the following statements are true?
total becomes the number of lines
total prints empty or 0
loop runs in a subshell
After executing the following shell script
Which of the following statements are true?
total becomes the number of lines
total prints empty or 0
loop runs in a subshell
Correct answers
total prints empty or 0
loop runs in a subshell
Question 14 of 20 in the IIT Madras BS System Commands (System Commands) End Term paper sat on 10 May 2026, in the January 2026 term (System Commands 06 May 26). It carries 5 marks.