
System Commands Quiz 2: 3 December 2023 (September 2023 term)
The IIT Madras BS System Commands (System Commands) Quiz 2 paper sat on 3 Dec 2023, in the September 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: /home/pinky
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: 1
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
-1
Show answer
Correct answer
0
Question 9
Show answer
Correct answer: 90
Question 10
The filename and contains all the lines in the file that starts with numbers
The filename and contains all the lines in the file that ends with numbers
The filename and contains all the lines in the file that starts and ends with numbers
The filename and contains all the lines that has a number in it but not at the beginning
Show answer
Correct answer
The filename and contains all the lines that has a number in it but not at the beginning
Question 11
Which of the following sed commands will show only line 6th and 8th line of a index.txt file.
Show answer
Correct answers
Question 12
Show answer
Correct answer
Question 13
HINT:
Show answer
Correct answers
Question 14
HINT:
Show answer
Correct answers
Question 15
HINT:
Show answer
Correct answers
Question 16
Show answer
Correct answer: 3
Question 17
Show answer
Correct answers