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

20/57

Page

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

Which option is used with sort command to sort multiple files collectively?

Select an option to see the answer and solution.

Which files will be displayed by the following command:
cat  *file*

Select an option to see the answer and solution.

Which of the following symbol is used for matching the immediately preceding character?

Select an option to see the answer and solution.

Which of the following is not a system defined variable?

Select an option to see the answer and solution.

Which one of the following option is used for OR operation in test command?

Select an option to see the answer and solution.

Which of the following files will not be deleted using "rm chap??" ?

Select an option to see the answer and solution.

Which of the following is an associative array?

Select an option to see the answer and solution.

A file named file01 should be readable, writable and executable only by the user(owner). Which one of the following set of command will be used?

Select an option to see the answer and solution.

Which of the following operators is used with test for comparison of numeric values?

Select an option to see the answer and solution.

-h option is used with who command for what purpose?

Select an option to see the answer and solution.

Which system call is used to set a timer that generates the SIGALARM signal?

Select an option to see the answer and solution.

Which command is used by the system administrator to set the date of the system?

Select an option to see the answer and solution.

Which of the following statement is not true?

Select an option to see the answer and solution.

Which of the following files are known as special files in UNIX?

Select an option to see the answer and solution.

Any command using standard input can take the input from here document.

Select an option to see the answer and solution.

If rmdir dir001 fails, what could be the reason(s)?

Select an option to see the answer and solution.

We can use comparison operators without a '-'.

Select an option to see the answer and solution.

The entire process life cycle is built around . . . . . . . . system calls.

Select an option to see the answer and solution.

The following command will match the lines beginning with '2'.
$ grep “^2”  emp.lst

Select an option to see the answer and solution.

Which option is used for backing up destination file in mv command?

Select an option to see the answer and solution.