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

29/57

Page

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

We can scroll halve page using control keys.

Select an option to see the answer and solution.

Which symbol is used with the tail command to print the file from the selected line?

Select an option to see the answer and solution.

Which one of the following keyword is used with the set command to avoid overwrite existing file?

Select an option to see the answer and solution.

We can prefix the repeat factor with navigation keys (h, j, k and l).

Select an option to see the answer and solution.

Apart from renaming files, mv command can also

Select an option to see the answer and solution.

-h option is used with pr command to add a header of our choice.

Select an option to see the answer and solution.

Which operator is used to specify the AND condition in find command?

Select an option to see the answer and solution.

What is the exit status of cmp command if both the files are identical?

Select an option to see the answer and solution.

To quit vi editor without saving the buffer we can use

Select an option to see the answer and solution.

Which one of the following command will be used for quitting after selecting 3 lines from file emp.lst?

Select an option to see the answer and solution.

. . . . . . . . command allows us to undo a number of changes that have been made to a single line before moving away from that line.

Select an option to see the answer and solution.

We can prefix repeat factor with word navigation commands.

Select an option to see the answer and solution.

Shell scripts need to be saved with an extension .sh .

Select an option to see the answer and solution.

To extract specific columns from a file, . . . . . . . . command is used.

Select an option to see the answer and solution.

We can use 'yy' command for copy and paste operation.

Select an option to see the answer and solution.

Which of the following is default permission set for ordinary files?

Select an option to see the answer and solution.

Which of the following function cannot be performed by mailx command?

Select an option to see the answer and solution.

Which command is used for creating directories?

Select an option to see the answer and solution.

Which option is used with cp command for linking files instead of copying?

Select an option to see the answer and solution.

perl variables have no type and no initialization.

Select an option to see the answer and solution.