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

21/57

Page

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

The name of the input and output files cannot be same while using sort command.

Select an option to see the answer and solution.

We cannot perform sorting on columns using sort command.

Select an option to see the answer and solution.

When we log in, the UNIX places us in a directory, called . . . . . . . . directory

Select an option to see the answer and solution.

Which of the following keys are used to moving the cursor up and down?

Select an option to see the answer and solution.

Which option is used with grep command for ignoring the case in pattern searching?

Select an option to see the answer and solution.

For creating and removing directories, which of the following system calls are used?

Select an option to see the answer and solution.

uniq command requires a sorted file as input.

Select an option to see the answer and solution.

To replace the string 'director' in the first five lines of file emp.lst with 'manager' we can use . . . . . . . .

Select an option to see the answer and solution.

We can use relative pathname in the path list while using find command.

Select an option to see the answer and solution.

Which of the following symbols are used for matching a pattern at specified locations?

Select an option to see the answer and solution.

We can use the > symbol along with pipe in a command.

Select an option to see the answer and solution.

A system call is a programmatic way in which the program requests for the service from the kernel of an operating system.

Select an option to see the answer and solution.

If the uncompressed file already exists on disk, unzip asks for the user confirmation whether to replace the existing file or not.

Select an option to see the answer and solution.

For deleting the elements from the left of the array . . . . . . . . function is used.

Select an option to see the answer and solution.

Which of the following flag will be used for interactive substitution?

Select an option to see the answer and solution.

Which of the following shells support the use of aliases?

Select an option to see the answer and solution.

awk uses . . . . . . . . operator for concatenating strings.

Select an option to see the answer and solution.

When nohup command is used, shells returns the . . . . . . . .

Select an option to see the answer and solution.

Which command is used for locating repeated and non-repeated lines?

Select an option to see the answer and solution.

We can create multiple directories by single invocation of mkdir command.

Select an option to see the answer and solution.