Unix Operating system solved MCQ’s Questions Answers

Let us see a list of important Unix Operating system solved MCQ’s Questions Answers.
1. Which of the following is not related to UNIX?
A. UNIX was not written in C language
B. Linux is also a version of UNIX
C. UNIX is not for a window
D. None of these
Ans:

Answer - Click Here:
A

2. The first line of shell starts with.
A. @
B. #
C. &
D. %
Ans:
Answer - Click Here:
B

3. dev/null is a
A. software
B. command
C. file
D. None of these
Ans:
Answer - Click Here:
C

4. The minimum number of links for any directory file?
A. 5
B. 6
C. 7
D. 2
Ans:
Answer - Click Here:
D

5. Following command in UNIX are used to set the task priority?
A. kil
B. nice
C. it
D.ps
Ans:
Answer - Click Here:
B

6. The following part of the UNIX operating system interacts with its hardware?
A. Vi editor
B. shell
C. kernel
D. none of these
Ans:
Answer - Click Here:
C

7. The following command is used for making the scripts interacting?
A. chmod +w
B. chmod +rw
C. chmod +r
D.chmod +x
Ans:
Answer - Click Here:
D

8. Following one is the advantage of binary files over text file is that?
A. they are much reliable
B. it is compact
C. it can b accessed faster
D. all of these
Ans:
Answer - Click Here:
D

9. All directories of users are usually placed in ………directory?
A. ldev
B. user
C.urw
D. lusr
Ans:
Answer - Click Here:
D

10. The files of any block in the UNIX file system is?
A. 2048
B.512
C.1024
D. any of the above
Ans:
Answer - Click Here:
D

11. T he UNIX operating system uses?
A. handshaking
B. affinity scheduling
C. infinity scheduling
D. Fair primitive scheduling
Ans:
Answer - Click Here:
D

12. Superuser means that?
A. system user
B. system manager
C. normal user
D. Administrator
Ans:
Answer - Click Here:
B

13. Shell’s internel tool is related to read command?
A. no
B. yes
C. both A and B
D. none of these
Ans:
Answer - Click Here:
B

14. Each entry in the inode table is the size of?
A. 32kb
B. 64 Gb
C. 64kb
D. 64 bytes
Ans:
Answer - Click Here:
D

15. Which command is used to see the last access time of various files in a file system?
A . Is-mt
B. ls-lu
C. rmt
D. none of these
Ans:
Answer - Click Here:
B

16. Which directory file system in UNIX is used?
A. tree directory
B. diamond directory
C. hierarchical directory
D. graph-structured directory
Ans:
Answer - Click Here:
C

17. The windowing system of UNIX is called?
A. LINUX
B. UNIX
C. DOS
D. X windowing system
Ans:
Answer - Click Here:
D

18. The first argument is read by the shell into printer is known as?
A. $1
B. $@
C. $#
D. $2
Ans:
Answer - Click Here:
A

19. Which one is not true?
A. sort is nor a filter
B. sorting is done on the basis of the first character of each line?
C. sort command sort a file word by word rather than line by line
D. none of these
Ans:
Answer - Click Here:
C

20. The commands head f1 would be displayed?
A. nothing
B. the whole file f1
C. First 10 lines of the file f1
D. none of these
Ans:
Answer - Click Here:
C

21. In UNIX which of the following information is not the part of the user?
A. kernel task
B. task scheduling
C. scheduling parameters
D. system call states
Ans:
Answer - Click Here:
C

UNIX Shell Offerings MCQs

1. As a shorthand representation of the home directory, the ___ acts.
(A). $
(B). “”
(C). ~
(D). %
(E). None of these
MCQ Answer: c

2. For the previous command having the last occurrence of string cvf, which command searches history list?
(A). /bkw
(B). /cvf [enter]
(C). /cvf
(D). !cvf
(E). None of these
MCQ Answer: c

3. At least one startup script is used by each shell in the user’s home directory that executes when the user log in.
(A). False
(B). True
(E). None of these
MCQ Answer: b

4. Which of the following file is executed each time the second shell is called up?
(A). .profile
(B).env.file
(C). .script
(D). rc file
(E). None of these
MCQ Answer: d

5. The history variables are_____
(A). HISTISIZE and HISTFILESIZE
(B). HISTFILESIZE
(C). HISTORY
(D). HISTISIZE
(E). None of these
MCQ Answer: a

6. For avoiding overwrite an existing file, which keyword is used with the set command?
(A). noclobber
(B). ignore
(C). clobber
(D). nooverwrite
(E). None of these
MCQ Answer: a

7. In the current shell set, the command displays the variables by default.
(A). False
(B). True
(E). None of these
MCQ Answer: b

8. ___ can be used as a keyword with the set command to prevent accidentally logging out.
(A). noclobber
(B). log out
(C). ignore
(D). ignoreeof
(E). None of these
MCQ Answer: d

9. ___ symbol is used to reverse any setting updated by the set command.
(A). +
(B). /
(C). –
(D). $
(E). None of these
MCQ Answer: a


Next Operating System MCQs

Computer Science Repeated MCQs Book Download

Add a Comment