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

25/57

Page

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

The write permission for a directory determines that . . . . . . . .

Select an option to see the answer and solution.

The variable assignment as x = 10 (whitespace on both sides of =) will work if we are not using C shell?

Select an option to see the answer and solution.

The string to be worked upon is placed on the left of the colon when using expr string handling function.

Select an option to see the answer and solution.

awk has some built-in functions which are used for arithmetic and string operations.

Select an option to see the answer and solution.

vi editor stores most of its information in a hidden swap file.

Select an option to see the answer and solution.

Which command does not terminates unless we log out of the system?

Select an option to see the answer and solution.

Which of the following system calls performs the action of cd command?

Select an option to see the answer and solution.

To create an archive named abc.tar consisting of two files, file01 and file02, which of the following command will be used?

Select an option to see the answer and solution.

Which of the following shell doesn't support ! symbol for negating the character class?

Select an option to see the answer and solution.

What is the default mode of vi editor?

Select an option to see the answer and solution.

Which command is used for extracting the details of the operating system?

Select an option to see the answer and solution.

For taking patterns from a file, -f option is specified with grep command.

Select an option to see the answer and solution.

Which of the following operator is used as a shorthand for test?

Select an option to see the answer and solution.

Which command is used for changing the current directory?

Select an option to see the answer and solution.

$ cp file_01 . copies the file named file_01 in . . . . . . . . directory

Select an option to see the answer and solution.

grep command can be used for searching a pattern in more than one file.

Select an option to see the answer and solution.

If the destination file does not exists, then mv command creates it.

Select an option to see the answer and solution.

For restoring files using tar, . . . . . . . . option is used.

Select an option to see the answer and solution.

When we create a file, we are the owner of a file.

Select an option to see the answer and solution.

Which option is used with gzip command for recursive compression?

Select an option to see the answer and solution.