Top 80+ Solved Unix Operating System MCQ Questions Answer
Q. A Sticky bit applies to a file would mean that
a. no one can remove it
b. it would stick around in memory even when its execution is over
c. next time you login it would get executed on its own
d. none of the above
Q. The command pwd gives
a. present working directory
b. password in encrypted form
c. password in decrypted form
d. none
Q. The size of any block in the unix file system is
a. 512 bytes
b. 1024 bytes
c. 2048 bytes
d. any of the above
Q. The program contained in boot block, that loads kernel into memory is called
a. disk bootstrap program
b. master boot program
c. shell program
d. none of the above
Q. The state of the file system is contained in
a. boot block
b. a special block created by book block
c. super block
d. none of the above
Q. Which file gets executed when we use the passwd command
a. /etc/passwd
b. /etc/pwd
c. /bin/passwd
d. /passwd
Q. The command cal j 1997 would give the output as
a. the calendar of jan, june and july 1997
b. only calendar of jan 1997
c. an error
d. none of the above
Q. The output of command banner “Unix shell programming” would be
a. a banner showing ‘unix’,’shell’ and ‘programming’ words displayed in separate lines
b. a banner showing ‘unix shell’ in one single line
c. nothing
d. a banner showing ‘unix shell programming’ in one line.
Q. To see the last access time of various files in a file system the command is
a. is-iu
b. is-i
c. is-acc
d. is-mt
Q. To ascertain what are the contents of the file in your the system the best way would be
a. do a cat command on each file and find its contents
b. use the command cat*
c. use the command file*
d. none of the above
Q. Which of these is not a command of Unix related with DOS
a. dosdir a:proj
b. doscopy trial a:/
c. doscp/home/proj/prg a:/
d. dosls