Unix Quiz


Play this quiz that will help you to excel in Unix certification exams, placements etc. This Unix quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc.

Take the Free Practice Test



Unix MCQs

Practice Unix MCQ Questions, which will help you in better understanding of Unix OS and will also help you to prepare for various placement related exams.

Unix Quiz

Try Free Unix Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

Unix Quiz

1. What is the syntax of break command that can also be used to exit from a nested loop?

break
break loop
break n
break n+i

2. Which of the following is correct code to search in array?

${arr[@]/*[aA]*/}
${arr[#]/*[aA]*/}
${arr[*]/*[aA]*/}
Both A and C

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

<
>
%
$

4. Like chmod, chown and chgrp can also use ___ option.

-R
-r
-x
-i

5. Which command is used to moves the cursor down one line?

i
j
k
l

6. On a UNIX system, there can be ____ shells running simultaneously.

2
3
4
Many

7. Which of the following syntax is used to access all the items in an array?

${array_name[*]}
${array_name[@]}
${array_name[$]}
Both A and B

8. What is the use of n >& m command?

Merges output from stream n with stream m
Merges input from stream n with stream m
Both A and B
None of the above

9. What is the use of -z string operator in bourne shell?

Checks if the value of two operands are equal or not
Checks if the given string operand size is zero
Checks if str is not the empty string
Checks if the given string operand size is non-zero

10. Unix, development starting in the 1970s at which Labs?

AT labs
Bell labs
Unix labs
Fortive labs

Results