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

43/57

Page

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

Which option is used when we've to sort files containing only numbers?

Select an option to see the answer and solution.

For splitting a line or expression into fields, . . . . . . . . is used.

Select an option to see the answer and solution.

-o operator represents the OR condition.

Select an option to see the answer and solution.

What will the result when we evaluate this statement?
$ directory=’pwd’=`pwd`

Select an option to see the answer and solution.

ls -s prints the allocated file size in blocks.

Select an option to see the answer and solution.

. . . . . . . . command is the appropriate way to interrupt a program.

Select an option to see the answer and solution.

Which process is immediately set up by the kernel when we log on to a UNIX system?

Select an option to see the answer and solution.

How can we specify more than one command in the command line at the same time?

Select an option to see the answer and solution.

In UNIX there are . . . . . . . . major types of shells.

Select an option to see the answer and solution.

Which of the following system call is used for closing a file?

Select an option to see the answer and solution.

Which option is used for counting the number of characters in a file only.

Select an option to see the answer and solution.

-b option is used with cmp command to print the differing bytes in both files.

Select an option to see the answer and solution.

Which command is used for moving the cursor to the line extreme?

Select an option to see the answer and solution.

Both 'p' and 'P' command puts text right/left or above/below on the basis of line deleted.

Select an option to see the answer and solution.

The printf function uses . . . . . . . . for string data and . . . . . . . . for numeric.

Select an option to see the answer and solution.

What does the following command do?
$ vi  file001

Select an option to see the answer and solution.

case can also use wildcards to pattern matching.

Select an option to see the answer and solution.

All the device files are stored in . . . . . . . .

Select an option to see the answer and solution.

What will be the function of the following command?
$ sed ‘s/ *|/|/g’ emp.lst

Select an option to see the answer and solution.

Which option is used by the system administrator for displaying processes of a user?

Select an option to see the answer and solution.