31. | Which of the following statement is not correct with reference to cron daemon in UNIX O.S? |
Discuss |
Answer: (d).Crontab for individual users are not stored.
|
32. | In Unix, files can be protected by assigning each one a 9-bit mode called rights bits. Now, consider the following two statements: I. A mode of 641 (octal) means that the owner can read and write the file, other members of the owner’s group can read it, and users can execute only. II. A mode of 100 (octal) allows the owner to execute the file, but prohibits all other access. Which of the following options is correct with reference to above statements? |
Discuss |
Answer: (c).Both I and II are correct
|
33. | In Unix, the login prompt can be changed by changing the contents of the file ............... |
Discuss |
Answer: (c).gettydefs
|
34. | A unix file system has 1-KB blocks and 4-byte disk addresses. What is the maximum file size if i-nodes contain 10 direct entries and one single, double and triple indirect entry each? |
Discuss |
Answer: (c).16 GB
|
35. | In Unix operating system, special files are used to : |
Discuss |
Answer: (b).provide a mechanism to map physical device to file names
|
36. | Match the following in Unix file system : List - I List - II (a) Boot block (i) Information about file system (b) Super block (ii) Information about file (c) Inode table (iii) Storage space (d) Data block (iv) Code for making OS ready Codes : (a) (b) (c) (d) |
Discuss |
Answer: (a).(iv) (i) (ii) (iii)
|
37. | In Unix, the command to enable execution permission for file “mylife” by all is ................ |
Discuss |
Answer: (d).All of the above
|
38. | What will be the output of the following Unix command ? $rm chap0\[1 - 3\] |
Discuss |
Answer: (a).Remove file chap0[1 - 3]
|
39. | Which of the following out commands will output "onetwothree"? |
Discuss |
Answer: (c).for n in one two three; do echo-n $n; done
|
40. | Assume that an implementation of Unix operating system uses i-nodes to keep track of data blocks allocated to a file. It supports 12 direct block addresses, one indirect block address and one double indirect block address. The file system has 256 bytes block size and 2 bytes for disk block address. The maximum possible size of a file in this system is |
Discuss |
Answer: (d).None of the above
|