Unix MCQ Questions with Answers #3

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

a. Blksz
b. Szblk
c. Chksz
d. Cmchk

2) Each entry in inode table is of size

a. 64 kb
b. 32kb
c. 32 bytes
d. 64 bytes

3) 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

4) 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

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

a. /etc/passwd
b. /etc/pwd
c. /bin/passwd
d. /passwd

6) 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

7) 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.

8) 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

9) 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

10) 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

---

Correct Answers

  1. D

  2. D

  3. A

  4. C

  5. C

  6. C

  7. B

  8. A

  9. C

10. B

Unix Tips

See Also

Have a Unix Problem
Do you have a UNIX Question?

Unix Books :-
UNIX Programming, Certification, System Administration, Performance Tuning Reference Books

Return to : - Unix System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.