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

34/57

Page

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

We can also duplicate the file descriptor using . . . . . . . .

Select an option to see the answer and solution.

Which one of the following command is used for replacing | with : globally?

Select an option to see the answer and solution.

Which option is used for displaying the line numbers containing the pattern along with lines?

Select an option to see the answer and solution.

The -a option when used with ps command lists processes of all users but doesn't display the system processes.

Select an option to see the answer and solution.

To remove all other windows except the current one, which of the following command is used?

Select an option to see the answer and solution.

The shell waits for the command to complete and normally can't do any work while the command is executing.

Select an option to see the answer and solution.

To add elements to the right side of the array . . . . . . . . function is used.

Select an option to see the answer and solution.

When a string is used for numeral computations, perl converts it into . . . . . . . .

Select an option to see the answer and solution.

Address space of a process is virtual.

Select an option to see the answer and solution.

Which of the following symbol is used with chmod to assign permission to a file?

Select an option to see the answer and solution.

truncate needs the . . . . . . . . of the file as an argument but ftruncate works with . . . . . . . .

Select an option to see the answer and solution.

Substitution command is an ex-mode command.

Select an option to see the answer and solution.

It is often more convenient to save perl program files with . . . . . . . . extension.

Select an option to see the answer and solution.

The size of /dev/null is always zero.

Select an option to see the answer and solution.

. . . . . . . . option is used when we need to match multiple patterns in a single invocation of grep command?

Select an option to see the answer and solution.

The parent process picks up the exit status of a child using . . . . . . . . system call.

Select an option to see the answer and solution.

To replace a single character, we use . . . . . . . . command

Select an option to see the answer and solution.

While changing permissions in an absolute manner, we explicitly set all the nine bits irrespective of the previous permissions of the file.

Select an option to see the answer and solution.

Commands inputted in command mode don't appear on the terminal.

Select an option to see the answer and solution.

Which of the following is default permission set for directories?

Select an option to see the answer and solution.