Question 1 | MCQ
Page 303 of 340

Solution
Page 304 of 340

Solution
Select the keyboard inputs that will exit from the loop of the below code.

Solution
Solution
Page 307 of 340
Which of the following cannot be considered as the advantages of RAID 6?
Which of the following cannot be considered as the advantages of RAID 6?
Solution
Solution
Solution
Consider the two commands below.

The output of the first command is shown. What will be the output of the second command?
The output of the first command is shown. What will be the output of the second command?
Solution
Consider the commands and their outputs below.
Page 309 of 340

The output of the first two commands is shown. What will be the output of the last command?
Hint: OFS is the Output field separator used in AWK. OFS is inserted between the fields in the output
Page 309 of 340
The output of the first two commands is shown. What will be the output of the last command?
Hint: OFS is the Output field separator used in AWK. OFS is inserted between the fields in the output
Solution
Consider the command above. What will be the frequency of execution of the notify command?
Hint: sleep command sleeps the process for the given(as argument) seconds.
And below is the meaning of the sequence in the cron job command. It tells at what date/time periodically the job needs to be executed.
Page 311 of 340
Solution
Note: Mark the answer with respect to any of the two questions below. The answer is the same for both the questions.
Select the key combination that deletes the last line and get the cursor back to the first line.
With respect to the Vi editor, the commands are executed in command mode.

(1) Gddgg
Page 312 of 340
(2) gddGG
(3) gDDGG
(4) GDDgg
OR
Select the key/command combination that deletes the last line and get the cursor back to the first line.
With respect to the Emacs editor.

Select the key combination that deletes the last line and get the cursor back to the first line.
With respect to the Vi editor, the commands are executed in command mode.
(1) Gddgg
Page 312 of 340
(2) gddGG
(3) gDDGG
(4) GDDgg
OR
Select the key/command combination that deletes the last line and get the cursor back to the first line.
With respect to the Emacs editor.
Solution
Page 313 of 340

Solution
What does the output of the below AWK script represent?
Note: AWK variables NR and FNR are the number of lines processed in overall and individual files respectively.

Note: AWK variables NR and FNR are the number of lines processed in overall and individual files respectively.
Solution
Page 315 of 340

Solution
Here is a snapshot of the top command at some instant. Select the process id which accounts for maximum CPU usage at that instant.
Page 316 of 340

Page 316 of 340
Solution
Comprehension Passage
Given below are the commands executed on a bash terminal in the same sequence.
Page 317 of 340

Based on the above data, answer the given subquestions.
Page 317 of 340
Based on the above data, answer the given subquestions.
Page 318 of 340
Just after executing all the given commands, we execute the commands given below in the options. Which of the following commands will execute without failing.
Just after executing all the given commands, we execute the commands given below in the options. Which of the following commands will execute without failing.
Solution
Comprehension Passage
Given below are the commands executed on a bash terminal in the same sequence.
Page 317 of 340

Based on the above data, answer the given subquestions.
Page 317 of 340
Based on the above data, answer the given subquestions.
Solution
Solution
Solution
Page 321 of 340

Solution
You have been allotted a Linux machine running the latest Ubuntu, that sits inside the IIT Madras campus network. This machine is enabled for you to access it remotely from your local machine at home through a Linux terminal. You did ssh from your home machine onto the machine at the campus at 2:00 PM. Currently, you are in front of your machine at the campus, it is 3:00 PM and you do not remember if you closed the ssh session you opened from your home machine an hour back. Which command will you run on the machine at the campus to check if you closed the ssh session that you opened from your home machine?
Assume that you remember the Ip addresses of both your machines and also that your ssh session timeout is set for 3 hours.
Assume that you remember the Ip addresses of both your machines and also that your ssh session timeout is set for 3 hours.
Solution
Page 323 of 340

Solution
Page 324 of 340

Using the above help text of the command, select the command that lists only the listening TCP ports.
Using the above help text of the command, select the command that lists only the listening TCP ports.
Solution
Solution
Page 326 of 340

Solution
NOTE: Enter your answer to the nearest integer.
Solution
Shape
Thickness [ / ]
3
All colors