uiz Space

September 2023 term · System Commands · BSSE2001

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.

Questions
17
Marks
100
Duration
120 min
Written
1
Numerical
7
MCQ
4
MSQ
5

Updated

Official paper: IIT M DIPLOMA AN2 EXAM QDD2 03 Dec 2023 · No negative marking.

Question 1

+7 marksWritten answer
Show answer

Correct answer: /home/pinky

Question 2

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 2

Question 3

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1

Question 4

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1

Question 5

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 2

Question 6

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 6

Question 7

+6 marksOne correct option
  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • E

Question 8

+6 marksOne correct option
  1. A

    0

  2. B

    1

  3. C

    2

  4. D

    -1

Show answer

Correct answer

  • A

    0

Question 9

+8 marksNumerical answer
Show answer

Correct answer: 90

Question 10

+8 marksOne correct option
  1. A

    The filename and contains all the lines in the file that starts with numbers

  2. B

    The filename and contains all the lines in the file that ends with numbers

  3. C

    The filename and contains all the lines in the file that starts and ends with numbers

  4. D

    The filename and contains all the lines that has a number in it but not at the beginning

Show answer

Correct answer

  • D

    The filename and contains all the lines that has a number in it but not at the beginning

Question 11

+6 marksOne or more correct options

Which of the following sed commands will show only line 6th and 8th line of a index.txt file.

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • B
  • C

Question 12

+7 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • D

Question 13

+8 marksOne or more correct options

HINT:

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • B
  • D

Question 14

+8 marksOne or more correct options

HINT:

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • A
  • D

Question 15

+8 marksOne or more correct options

HINT:

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • A
  • D

Question 16

+6 marksNumerical answer
Show answer

Correct answer: 3

Question 17

+7 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • C
  • D