System Commands Quiz 1: 26 February 2023 (January 2023 term)
The IIT Madras BS System Commands (System Commands) Quiz 1 paper sat on 26 Feb 2023, in the January 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
- 8
- 3
- 4
Show answer
Correct answer
Question 2
touch b
echo b
echo apples > b
echo apples
Show answer
Correct answer
echo apples > b
Question 3
Show answer
Correct answer
Question 4
soft link
hard link
either soft link or hard link
links will not work for this requirement
Show answer
Correct answer
soft link
Question 5
Show answer
Correct answer: 80
Question 6
Show answer
Correct answer: 5
Question 7
Everyday at 00:05 in August
Everyday at 05:00 in August
Everyday at 08:00 in May
Everyday at 08:05 in May
Show answer
Correct answer
Everyday at 00:05 in August
Question 8
Show answer
Correct answer
Question 9
Choose the regular expression that match with ONLY the five digit palindrome. Basic Regular Expression (BRE) is used.
Show answer
Correct answer
Question 10
Show answer
Correct answer
Question 11
What will be the matched case(s) from the above regular expression. Assume that the regular expression is using Extended Regular Expression Engine (ERE). [MSQ]
Any ten digit mobile number
Any ten digit mobile number starting with 6, 7, 8 or 9
Any ten digit mobile number starting with 6, 7, 8 or 9 with 0 as prefix
Any ten digit mobile number starting with 6, 7, 8 or 9 with +91 as prefix
Show answer
Correct answers
Any ten digit mobile number starting with 6, 7, 8 or 9
Any ten digit mobile number starting with 6, 7, 8 or 9 with 0 as prefix
Any ten digit mobile number starting with 6, 7, 8 or 9 with +91 as prefix
Question 12
abdul
ankit who belong to the group "student"
catherine who do not belong to the group "student"
jina who belong to the group "abdul"
Show answer
Correct answers
abdul
ankit who belong to the group "student"
Question 13
Show answer
Correct answer: 12
Question 14
docker_notes.txt
emacs_notes.txt
vim_notes.txt
x
y
z
Show answer
Correct answers
docker_notes.txt
emacs_notes.txt
vim_notes.txt
Question 15
Show answer
Correct answers
