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:
2. The first line of shell starts with.
A. @
B. #
C. &
D. %
Ans:
3. dev/null is a
A. software
B. command
C. file
D. None of these
Ans:
4. The minimum number of links for any directory file?
A. 5
B. 6
C. 7
D. 2
Ans:
5. Following command in UNIX are used to set the task priority?
A. kil
B. nice
C. it
D.ps
Ans:
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:
7. The following command is used for making the scripts interacting?
A. chmod +w
B. chmod +rw
C. chmod +r
D.chmod +x
Ans:
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:
9. All directories of users are usually placed in ………directory?
A. ldev
B. user
C.urw
D. lusr
Ans:
10. The files of any block in the UNIX file system is?
A. 2048
B.512
C.1024
D. any of the above
Ans:
11. T he UNIX operating system uses?
A. handshaking
B. affinity scheduling
C. infinity scheduling
D. Fair primitive scheduling
Ans:
12. Superuser means that?
A. system user
B. system manager
C. normal user
D. Administrator
Ans:
13. Shell’s internel tool is related to read command?
A. no
B. yes
C. both A and B
D. none of these
Ans:
14. Each entry in the inode table is the size of?
A. 32kb
B. 64 Gb
C. 64kb
D. 64 bytes
Ans:
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:
16. Which directory file system in UNIX is used?
A. tree directory
B. diamond directory
C. hierarchical directory
D. graph-structured directory
Ans:
17. The windowing system of UNIX is called?
A. LINUX
B. UNIX
C. DOS
D. X windowing system
Ans:
18. The first argument is read by the shell into printer is known as?
A. $1
B. $@
C. $#
D. $2
Ans:
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:
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:
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:
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
-
- Operating System MCQs
- Operating System Multiple Choice Questions
- Operating Systems OS MCQs-Important
- File system Interface MCQS Questions Answers in Operating Systems
- Virtual Memory MCQS Questions Answers in Operating Systems
- Operating System Structures MCQs
- Process Synchronization Solved MCQs Questions Answers
- Deadlock MCQs Questions Answers
- Memory Management MCQs Questions Answers
- Unix Operating system solved MCQ’s Questions Answers
- Primary Memory Solved MCQs Questions Answers
- Linux process Management MCQs – Solved
- Linux File Permissions Solved MCQs
- Linux Startup and Shutdown MCQs
- Linux File Permissions MCQs Questions Answers
- Linux process Management MCQs – Solved
- Process Synchronization Solved MCQs Questions Answers
- Operating System Structures MCQs
- CPU Scheduling Solved MCQ’s Questions Answers
- Deadlock MCQs Questions Answers
- Memory Management MCQs Questions Answers
- File system Interface MCQS Questions Answers in Operating Systems
- Virtual Memory MCQS Questions Answers in Operating Systems
- Operating System Multiple Choice Questions Answers