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. Which of the following statements that are used to control shell loops?

break
continue
Both A and B
None of the above

2. ____ command will bring the background jobs to the foreground.

bg
gd
fg
kill

3. Which option is used ignores first x fields when sorting?

-x
+x
-X
+X

4. How many types of permissions a file has in UNIX?

2
3
4
5

5. $# is used to show?

The number of arguments supplied to a script.
The filename of the current script.
The exit status of the last command executed.
The process number of the last background command

6. Which of the following command doesn't create a process?

pwd
fork
cd
Both A and C

7. Which command searches a file or files for lines that have a certain pattern?

erep
pgrp
grep
drep

8. Which of the following filter is used to remove duplicate lines?

cat
sed
uniq
grep

9. Which of the following code is used to print elements in range?

${arr[@]:1:4}
${arr[@]}
${arr[*]}
Both A and C

10. What is cron?

a simple process
an orphan process
a daemon
a zombie process

Results