1. |
Unix OS was first developed by |
A. | dennis ritchie |
B. | bjarne stroustrup |
C. | ken thompson |
D. | brian kernighan |
Answer» C. ken thompson |
2. |
Unix OS was first developed at |
A. | microsoft corp. usa |
B. | at & t bell labs, usa |
C. | ibm, usa |
D. | borland international, usa |
Answer» B. at & t bell labs, usa |
3. |
Unix is written in |
A. | c language |
B. | ada language |
C. | perl language |
D. | pascal language |
Answer» A. c language |
4. |
Unix is a |
A. | single user, single tasking os |
B. | single user, multi-tasking os |
C. | multi-user, multi- tasking os |
D. | none |
Answer» C. multi-user, multi- tasking os |
5. |
Which of the following is a command for searching a pattern in a file? |
A. | find |
B. | grep |
C. | look up. |
D. | none |
Answer» B. grep |
6. |
Unix Command can be typed in |
A. | lower case |
B. | upper case |
C. | both the cases |
D. | none |
Answer» A. lower case |
7. |
Shell Program is stored in a file called |
A. | unix |
B. | sh |
C. | dd |
D. | cc |
Answer» B. sh |
8. |
WhicBh shell offers a command history feature |
A. | c shell |
B. | visual shell |
C. | bourne shell |
D. | korn shell |
Answer» C. bourne shell |
9. |
The minimum number of links for any directory file are |
A. | 3 |
B. | 4 |
C. | 1 |
D. | 2 |
Answer» D. 2 |
10. |
The default value of Umask is |
A. | 1024 |
B. | 4021 |
C. | 0022 |
D. | 1001 |
Answer» C. 0022 |
11. |
Binary executable required for system administration is usually placed in ________ directory. |
A. | letc |
B. | lusr |
C. | ldev |
D. | none |
Answer» A. letc |
12. |
All user directories are usually placed in _________ directory. |
A. | letc |
B. | lusr |
C. | ldev |
D. | none |
Answer» B. lusr |
13. |
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 |
Answer» A. one |
14. |
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 |
Answer» D. pressing ctrl-d |
15. |
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 |
Answer» D. rm-f-file |
16. |
The permission 746 can be represented as |
A. | rwxrwx- -x |
B. | rw- -w-r-x |
C. | rwxr-xr-x |
D. | rwxr- -rw– |
Answer» D. rwxr- -rw– |
17. |
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 |
Answer» B. it would stick around in memory even when its execution is over |
18. |
The command pwd gives |
A. | present working directory |
B. | password in encrypted form |
C. | password in decrypted form |
D. | none |
Answer» A. present working directory |
19. |
Which of the following is not a unix command |
A. | cd |
B. | rm |
C. | pwd |
D. | del |
Answer» D. del |
20. |
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 |
Answer» D. any of the above |
21. |
To find the block size on your file system the command is |
A. | blksz |
B. | szblk |
C. | chksz |
D. | cmchk |
Answer» D. cmchk |
22. |
Each entry in inode table is of size |
A. | 64 kb |
B. | 32kb |
C. | 32 bytes |
D. | 64 bytes |
Answer» D. 64 bytes |
23. |
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 |
Answer» A. disk bootstrap program |
24. |
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 |
Answer» C. super block |
25. |
Which file gets executed when we use the passwd command |
A. | /etc/passwd |
B. | /etc/pwd |
C. | /bin/passwd |
D. | /passwd |
Answer» C. /bin/passwd |