Unix MCQ Questions with Answers #2

1. The default value of Umask is

a. 1024 
b. 4021 
c. 0022 
d. 1001

2. Binary executable required for system administration is usually placed in ________ directory.

a. Letc 
b. lusr 
c. ldev 
d. none

3. All user directories are usually placed in _________ directory.

a. Letc 
b. lusr 
c. ldev 
d. none

4. If there are three links for a file then the number of copies of the file would be

a. One 
b. two 
c. three 
d. four

5. After typing the contents of file test created by you by giving the command cat>test you save the contents by

a. Pressing the keys ctrl-c
b. Typing save and pressing enter
c. Pressing Esc key
d. Pressing ctrl-d

6. The file for which we do not have write permission can be deleted using the command

a. rm-i file
b. rm-I file
c. rm-r-file
d. rm-f-file

7. The permission 746 can be represented as

a. rwxrwx- -x
b. rw- -w-r-x
c. rwxr-xr-x
d. rwxr- -rw–

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

9. The command pwd gives

a. Present working directory
b. Password in encrypted form
c. Password in decrypted form
d. None

10. Which of the following is not a unix command

a. Cd 
b. rm 
c. pwd 
d. del

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

---

Correct Answers

1. C

2. A

3. B

4. A

5. D

6. D

7. D

8. B

9. A

10. D

11. D

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.