Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DIPLOMA LEVEL : SYSTEM COMMANDS (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Solution
Which one of the following commands replaces only the second occurrence of pattern "Alice" with "Rabbit" in each line of the entire file?
Solution
Solution
Solution
A file contains data collected starting from 4th April 2004. The data is collected on the 4th, 14th and 24th of April, May and June since then. The text file, however, does not contain the date information. Now it is necessary to add a column to this text file with the date format 4 April 2004. Identify which of the following command (using brace expansion) will create a column to an empty file with the desired format from 4 April, 2004 to 24 December, 2010 is sorted as per the years.
Hint:
Use the following information.

Hint:
Use the following information.
Solution
Choose the correct sed command from the options which will replace all the three-character month names with the corresponding numbers.
Note: Only the month should be changed

Note: Only the month should be changed
Solution
Solution
Which of the following command(s) from the options will produce the output as shown below?

Solution
Solution
Solution
Solution
Following Script is executed on a text file. Choose the correct statement(s) from the options.

Solution
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
What is the output of the first loop at the end of the execution of the given script?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
What is the output of the second loop after the execution of the given script?
Solution
Shape
Thickness [ / ]
3
All colors