Top 80+ Solved Unix Operating System MCQ Questions Answer

From 16 to 30 of 82

Q. The permission 746 can be represented as

a. rwxrwx- -x

b. rw- -w-r-x

c. rwxr-xr-x

d. rwxr- -rw–

  • d. rwxr- -rw–

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

  • b. it would stick around in memory even when its execution is over

Q. The command pwd gives

a. present working directory

b. password in encrypted form

c. password in decrypted form

d. none

  • a. present working directory

Q. Which of the following is not a unix command

a. cd

b. rm

c. pwd

d. del

  • d. del

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

  • d. any of the above

Q. To find the block size on your file system the command is

a. blksz

b. szblk

c. chksz

d. cmchk

  • d. cmchk

Q. Each entry in inode table is of size

a. 64 kb

b. 32kb

c. 32 bytes

d. 64 bytes

  • d. 64 bytes

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

  • a. disk bootstrap program

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

  • c. super block

Q. Which file gets executed when we use the passwd command

a. /etc/passwd

b. /etc/pwd

c. /bin/passwd

d. /passwd

  • c. /bin/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

  • c. an error

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.

  • b. a banner showing ‘unix shell’ in one single line

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

  • c. use the command file*

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

  • b. doscopy trial a:/
Subscribe Now

Get All Updates & News