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

52/57

Page

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

The prompt issued by the shell is called . . . . . . . .

Select an option to see the answer and solution.

. . . . . . . . system call is used for renaming a file, directory or symbolic link.

Select an option to see the answer and solution.

The output of the following command is . . . . . . . .
$ cp  abd/ .user_06

Select an option to see the answer and solution.

While entering text in input mode the data is saved in . . . . . . . .

Select an option to see the answer and solution.

We can provide multiple filenames as arguments to gunzip.

Select an option to see the answer and solution.

Which of the following system calls returns one or more file descriptors?

Select an option to see the answer and solution.

What is an absolute pathname?

Select an option to see the answer and solution.

A variable can be removed using . . . . . . . .

Select an option to see the answer and solution.

The name of the script is stored in which special parameter?

Select an option to see the answer and solution.

Which file is executed every time a second shell is called up?

Select an option to see the answer and solution.

Which command is used to link a file with multiple filenames?

Select an option to see the answer and solution.

The output of the following command will be:
$ uniq  foo1 foo2

Select an option to see the answer and solution.

For reading input, which of the following system call is used?

Select an option to see the answer and solution.

Which symbol is used to redirect error messages to /dev/null?

Select an option to see the answer and solution.

pwd and echo $HOME will display the same output.

Select an option to see the answer and solution.

Sort command uses . . . . . . . . as default field delimiter.

Select an option to see the answer and solution.

Which shell is the most common and best to use?

Select an option to see the answer and solution.

If we are interested in knowing that whether the two files are identical or not, we can use . . . . . . . . command.

Select an option to see the answer and solution.

Which command is used for counting words, lines and characters in a file?

Select an option to see the answer and solution.

Which one of the following option is used for checking that the string is not null?

Select an option to see the answer and solution.