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 command is used to terminates a printing request from the lp command?

can
cd
cancel
lpm

2. What is true about pipes in unix?

Pipe can connect two commands together so that the output from one program becomes the input of the next program
To make a pipe, put a hash (#) on the command line between two commands.
Two or more commands connected in this way form a pipe.
Both A and C

3. Which of the following is not true about tee command?

it is a feature of the shell
it is an external command
tee command duplicates its input
tee is an internal command

4. $# 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

5. What is the use of pgm < file command?

Output of pgm is redirected to file
Program pgm reads its input from file
Output of pgm is appended to file
Takes output from one program, or process, and sends it to another

6. We cannot use the unset command to unset variables that are marked ____________.

read
write
readonly
writeonly

7. What is group ownership?

group of users who can access the file
group of users who can create the file
group of users who can edit the file
group of users who can delete the file

8. The complete expr and awk expression should be enclosed between ___________.

()
" "
' '
< >

9. What is cron?

a simple process
an orphan process
a daemon
a zombie process

10. Which of the following command is used to display the environment variables only?

sh
set
env
var

Results