| | | | MCQ Tutorial - Linux->File and Folder | | | | 1.) All device files are stored in which directory? | | Options are: | | A.) /dev
| | B.) /usr
| | C.) /etc
| | D.) /bin
| | Correct Option: A | | | | | | | 2.) Proc filesystem does not contains | | Options are: | | A.) Sub-directories for installed buses
| | B.) List of registered DMA
| | C.) None of the options
| | D.) Device files
| | Correct Option: D | | | | | | | 3.) Which one of the following is not a valid makefile directive? | | Options are: | | A.) if
| | B.) elif
| | C.) endif
| | D.) None of the options
| | Correct Option: D | | | | | | | 4.) Which file of the proc filesystem can be used instead of "syslog" system call to read kernel messages? | | Options are: | | A.) /proc/kmsg
| | B.) /proc/msg
| | C.) /proc/moudle/kmsg
| | D.) /proc/module/msg
| | Correct Option: A | | | | | | | 5.) Linux filesystem contains mainly | | Options are: | | A.) Ordinary files
| | B.) Directory files
| | C.) All of the options
| | D.) Device files
| | Correct Option: C | | | | | | | | | | | |