Vidyalelo
Computer Science · all questions

UNIX
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

1,129

Questions

55/57

Page

Pick an option on a question to see the right answer and solution.

Which one of the following command is used to replace a single character with many?

Select an option to see the answer and solution.

Shell enables one or more arguments to be obtained from the standard output of another command. This feature is called . . . . . . . .

Select an option to see the answer and solution.

Which operator is used in vi to filter text?

Select an option to see the answer and solution.

Shell scripts are executed in a separate child shell process.

Select an option to see the answer and solution.

Which command will be used for selecting lines 3 to 10 from emp.lst?

Select an option to see the answer and solution.

What does the following command do?
$ echo *

Select an option to see the answer and solution.

For looping in a list, . . . . . . . . is used.

Select an option to see the answer and solution.

Which of the following command will remove the file named * ?

Select an option to see the answer and solution.

Which option is used with ps command to list system processes?

Select an option to see the answer and solution.

Which of the following command will be used if we want to abort editing and quit the editor even if the buffer has been changed and not saved?

Select an option to see the answer and solution.

:r !date inserts the output of date command in our file.

Select an option to see the answer and solution.

Which option is used with ls command to produce multi columnar output?

Select an option to see the answer and solution.

How can we skip some initial bytes from both the files to be compared?

Select an option to see the answer and solution.

read command is shell's internal tool.

Select an option to see the answer and solution.

Which of the following mode is used for opening a file in both reading and writing?

Select an option to see the answer and solution.

Which option is used when we want to use an ERE with grep command?

Select an option to see the answer and solution.

. . . . . . . . function is used for removing the last character from the line.

Select an option to see the answer and solution.

Which of the following is not a valid escape sequence in UNIX?

Select an option to see the answer and solution.

Which of the following is an archival program?

Select an option to see the answer and solution.

To change entire lines, . . . . . . . . is used.

Select an option to see the answer and solution.