Question 1 | MCQ
Solution
Solution
Solution
Solution
Solution
Solution
What will be the output of the below command?

Solution
Solution
Given below are the top five lines of access log file of a server. Each line corresponds to one
request received on the server. In each line

request received on the server. In each line
Solution
Consider the below state of the current working directory,

What will be the output of the below command , when executed in the current working directory?

What will be the output of the below command , when executed in the current working directory?
Solution
Consider that all the files are located in the current working directory. The shopkeeper wants to calculate in total how many fruits were sold out. Choose the awk script which will print the total number of fruits sold by this shopkeeper till now. The below commands are executed in current working directory.
Solution
Consider the below information,

What will be the output of the below bash command?

What will be the output of the below bash command?
Solution
Match the command used in vi editor with their use

OR
Match the command used in emacs editor with their use. Note that Ctrl and Meta refers to Control and Alt key respectively.

OR
Match the command used in emacs editor with their use. Note that Ctrl and Meta refers to Control and Alt key respectively.
Solution
Solution
Solution
How many lines will be printed by the given bash script?

NOTE: Enter your answer to the nearest integer.
NOTE: Enter your answer to the nearest integer.
Solution
Consider the below information,

How many lines of text will be printed to stdout by the below command?

NOTE: Enter your answer to the nearest integer.
How many lines of text will be printed to stdout by the below command?
NOTE: Enter your answer to the nearest integer.
Solution
Solution
Solution
Comprehension Passage
Consider the below command outputs,

Each file in the current working directory contains details of a single student. All the files contains information in the same format, as the sample given above. Each section in these files are named within square brackets
Based on the above data, answer the given subquestions.
Each file in the current working directory contains details of a single student. All the files contains information in the same format, as the sample given above. Each section in these files are named within square brackets
Based on the above data, answer the given subquestions.
Consider every command/script below is run in the same directory. Choose the bash script(s) from the options that will give the same output as the given grep command.

Note: The usage of options,

Note: The usage of options,
Solution
Comprehension Passage
Consider the below command outputs,

Each file in the current working directory contains details of a single student. All the files contains information in the same format, as the sample given above. Each section in these files are named within square brackets
Based on the above data, answer the given subquestions.
Each file in the current working directory contains details of a single student. All the files contains information in the same format, as the sample given above. Each section in these files are named within square brackets
Based on the above data, answer the given subquestions.
Solution
Shape
Thickness [ / ]
3
All colors