Unix Quiz
Unix Quiz contain set of 10 MCQ questions for Unix MCQ which will help you to clear beginner level quiz.
1. which of the following features of unix may be used for inter process communication.
a) signals
b) pipes
c) semaphore
d) All of the above
2. In a system , if 5 people are currently using the vi editor.then the number of corresponding processes will be.
a) 1
b) 5
c) 2
d) 0
3. dev/null is a
a) Is a file
b) Has write permission for all
c) Is the Unix built-in dustbin
d) All of these
4. The advantage of the binary files over text files is that.
a) It is compact
b) It can be accessed faster
c) They are more reliable
d) All of these
5. command that will allow a UNIX system to shut down in 15 minutes, after which it will perform a reboot.
a) /sbin/shutdown –r +15
b) shutdown -r +15
c) shutdown -Fr 15
d) init 6
6. What command will change your prompt to MYPROMPT.
a) PS1 = ‘MYPROMPT:’
b) echo$PATH
c) both a and b
d) None of above
7. How do you find which processes are using a particular file.
a) topas
b) lsof
c) netstat
d) All of these
8. what is the syntax of the tar command.
a) tar –usage
b) tar
c) compress
d) None
9. What command can you use to display the first 3 lines of text from a file and how does it work.
a) head -3 test.txt
b) sed ‘4,$ d’ test.txt
c) both a and b
d) None
10. How do you check how much space left in current drive.
a) df
b) df -h
c) fdisk
d) All of the above