Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
System Commands
Shell expansion, pipes & redirection
Official Paper
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- NAT: Numerical response. No negative marking.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
Quiz 1 · 26 Oct 2025 (AN)Quiz 1
- Q1MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q2MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q3MCQ4 Marks·Choose one option

- A

- B

- C

- D

- A
- Q4NAT3 Marks·Write the number
Your answer:
End Term · 31 Aug 2025 (FN)End Term
- Q5MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q6MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q7MSQ5 Marks·Choose all correct options

- A

- B

- C

- D

- A
End Term · 31 Aug 2025 (AN)End Term
- Q8MSQ5 Marks·Choose all correct options
Which of the following statements about subshells is/are true?
- A(cd /tmp; ls) runs in a subshell
- Bcd /tmp; ls runs in a subshell
- CVariables set in a subshell are visible to the parent shell
- DCommands inside $(...) are executed in a subshell
End Term · 13 Apr 2025 (FN)End Term
- Q9MCQ6 Marks·Choose one option

- ADisplay the today’s date
- BNothing is printed
- Clist all the lines of file1 that do not match file2
- D0
- Q10MSQ6 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q11NAT6 Marks·Write the number
Your answer: - Q12NAT6 Marks·Write the number
Your answer:
End Term · 22 Dec 2024 (FN)End Term
- Q13MCQ3 Marks·Choose one option

- A

- B

- C

- D

- E

- A
End Term · 22 Dec 2024 (AN)End Term
- Q14MCQ3 Marks·Choose one option

- A

- B

- C

- D

- E

- A