System Commands Quiz 1: 29 October 2023 (September 2023 term)
The IIT Madras BS System Commands (System Commands) Quiz 1 paper sat on 29 Oct 2023, in the September 2023 term: 15 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.
- 15
- 100
- 120 min
- 5
- 4
- 1
- 5
Show answer
Correct answer
Question 2
Show answer
Correct answer
Question 3
Show answer
Correct answer
Question 4
Show answer
Correct answer
Question 5
Prints the file names of all the '.txt' files in the current directory non recursively.
Prints the file names of all the '.txt' files in the current directory recursively.
Prints the file names of all the '.txt' files in the current directory and in immediate subdirectories of current working directory non-recursively.
Show answer
Correct answer
Prints the file names of all the '.txt' files in the current directory non recursively.
Question 6
Which of the following are TRUE statements for hardlinks and softlinks?
Hardlink of a file has same inode number
Softlink of a file has same inode number
Softlink of a file occupies the same space (i.e. same size) as the original file
Hardinks cannot be moved to a different File system
Softlink of a file unconditionally requires full path
Changes done in the original file is reflected in its hardlink
Show answer
Correct answers
Hardlink of a file has same inode number
Hardinks cannot be moved to a different File system
Changes done in the original file is reflected in its hardlink
Question 7
8iadaz
3g2z
jkjkjkjk2j2yjkjk
.a.a.a.2.2.1.
00210132a1z01231
1a2w01231
Show answer
Correct answers
3g2z
00210132a1z01231
Question 8
Which of the following options contains command(s) which will output calendar for October and November of 2023.
Show answer
Correct answers
Question 9
Show answer
Correct answers
Question 10
Show answer
Correct answer: 11 22 33
Question 11
Show answer
Correct answer: 11
Question 12
Show answer
Correct answer: 80
Question 13
Show answer
Correct answer: 7
Question 14
Show answer
Correct answer: 1
Question 15
Show answer
Correct answer: 104
