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

51/57

Page

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

Which one of the following command can delete a directory which is not empty?

Select an option to see the answer and solution.

Which option is used with sed for using multiple instructions?

Select an option to see the answer and solution.

What is the correct syntax for copying multiple files with a filename starting as 'file' into another file named as 'directory_one'?

Select an option to see the answer and solution.

-d option is used for checking if the file exists and is a directory.

Select an option to see the answer and solution.

To specify permissions while using find command we have to use . . . . . . . . option.

Select an option to see the answer and solution.

Which of the following is not a feature of UNIX?

Select an option to see the answer and solution.

Which option is used with grep command for deleting lines?

Select an option to see the answer and solution.

. . . . . . . . operator is used with pr command to start printing from a specific page.

Select an option to see the answer and solution.

To replace | with ~, which one of the following commands will be used?

Select an option to see the answer and solution.

The . . . . . . . . acts as a shorthand representation of the home directory.

Select an option to see the answer and solution.

Which option is used for sorting a file according to primary key?

Select an option to see the answer and solution.

For escaping the newline character we can use . . . . . . . .

Select an option to see the answer and solution.

The following command will produce an error.
$ cut -d "|" -f 1,4 emp.lst

Select an option to see the answer and solution.

The expression used with chmod command to change permissions in a relative manner contains . . . . . . . . components.

Select an option to see the answer and solution.

grep command supports both extended and regular expressions.

Select an option to see the answer and solution.

A process is an instance of . . . . . . . . program.

Select an option to see the answer and solution.

Which of the following command is not used for entering or replacing text?

Select an option to see the answer and solution.

The stack stores the . . . . . . . .

Select an option to see the answer and solution.

Which command is used for premature termination of a process?

Select an option to see the answer and solution.

UNIX allows the system administrator to use the only chown to change both owner and group.

Select an option to see the answer and solution.