
System Commands Quiz 2: 6 August 2023 (May 2023 term)
The IIT Madras BS System Commands (System Commands) Quiz 2 paper sat on 6 Aug 2023, in the May 2023 term: 17 questions for 100 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
- 17
- 100
- 120 min
- 1
- 7
- 4
- 5
Show answer
Correct answer: /var
Question 2
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 2
Question 3
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 3
Question 4
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 1
Question 5
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 2
Question 6
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 6
Question 7
Show answer
Correct answer
Question 8
0
1
2
3
Show answer
Correct answer
1
Question 9
Show answer
Correct answer
Question 10
Show answer
Correct answer: 46
Question 11
The filename and count that includes the lines in the file that starts with numbers
The filename and count that includes the lines in the file that ends with numbers
The filename and count that includes the lines in the file that starts and ends with numbers
The filename and count that includes the lines that have a number in it
Show answer
Correct answers
The filename and count that includes the lines in the file that starts with numbers
The filename and count that includes the lines in the file that starts and ends with numbers
Question 12
Show answer
Correct answers
Question 13
The Script 1 is more optimal than Script 2 in terms of memory
The Script 2 is more optimal than Script 1 in terms of memory
The Script 1 and Script 2 do not have difference in terms of memory
The Script 2 is less efficient than Script 1, because it has three blocks
Show answer
Correct answer
The Script 2 is more optimal than Script 1 in terms of memory
Question 14
Show answer
Correct answers
Question 15
Show answer
Correct answers
Question 16
Which of the following commands can delete leading and trailing white spaces from each line of the file sample.txt.
Show answer
Correct answers
Question 17
Show answer
Correct answer: 2