UNIX MCQ SET 3


1) To find the block size on your file system the command is

 

  1. Blksz
  2. Szblk
  3. Chksz
  4. Cmchk

 

2) Each entry in inode table is of size

 

  1. 64 kb
  2. 32kb
  3. 32 bytes
  4. 64 bytes

 

3) The program contained in boot block, that loads kernel into memory is called

 

  1. Disk Bootstrap program
  2. Master boot program
  3. Shell program
  4. None of the above

 

4) The state of the file system is contained in

 

  1. Boot block
  2. A special block created by Book Block
  3. Super Block
  4. None of the above

 

5) Which file gets executed when we use the passwd command

 

  1. /etc/passwd
  2. /etc/pwd
  3. /bin/passwd
  4. /passwd

 

6) The command cal j 1997 would give the output as

 

  1. The calendar of jan, june and july 1997
  2. Only calendar of jan 1997
  3. An error
  4. None of the above

 

7) The output of command banner “Unix shell programming” would be

 

  1. A banner showing ‘unix’,’shell’ and ‘programming’ words displayed in separate lines
  2. A banner showing ‘unix shell’ in one single line
  3. Nothing
  4. A banner showing ‘unix shell programming’ in one line.

 

8) To see the last access time of various files in a file system the command is

 

  1. Is-Iu
  2. Is-I
  3. Is-acc
  4. Is-mt

 

9) To ascertain what are the contents of the file in your the system the best way would be

 

  1. Do a cat command on each file and find its contents
  2. Use the command cat*
  3. Use the command file*
  4. None of the above

 

10) Which of these is not a command of Unix related with DOS

 

  1. Dosdir a:proj
  2. Doscopy trial a:/
  3. Doscp/HOME/Proj/Prg a:/
  4. Dosls

 

 

Correct Answers

 

  1. D

 

  1. D

 

  1. A

 

  1. C

 

  1. C

 

  1. C

 

  1. B

 

  1. A

 

  1. C

 

  1. B

Leave a comment