MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is the associated file descriptor for stdout? |
| A. | 0 |
| B. | 1 |
| C. | 2 |
| D. | -1 |
| E. | |
| Answer» C. 2 | |
| 2. |
How many stream Unix program has? |
| A. | 2 |
| B. | 3 |
| C. | 4 |
| D. | 5 |
| Answer» C. 4 | |
| 3. |
Each entry of directory file has component(s) namely _____. |
| A. | filename |
| B. | inode number |
| C. | file size |
| D. | Both A and B |
| Answer» E. | |
| 4. |
The most common file type is ___. |
| A. | ordinary file |
| B. | directory file |
| C. | device file |
| D. | ordinary file and directory file |
| Answer» B. directory file | |
| 5. |
Which of the following syntax is used for creating files in VI editor? |
| A. | $# vi filename |
| B. | $ vi filename |
| C. | # vi filename |
| D. | & vi filename |
| Answer» C. # vi filename | |
| 6. |
Which of the following symbol represents the current directory? |
| A. | Double dot (..) |
| B. | Dollar dot($.) |
| C. | Single dot (.) |
| D. | Hash dot(#.) |
| Answer» D. Hash dot(#.) | |
| 7. |
Which command is used to list all the files? |
| A. | ld |
| B. | lr |
| C. | ls |
| D. | lp |
| Answer» D. lp | |
| 8. |
Which of the following is true about files? |
| A. | All data in Unix is organized into files. |
| B. | All files are organized into directories. |
| C. | The directories are organized into a tree-like structure called the filesystem. |
| D. | All of the above |
| Answer» E. | |
| 9. |
How many types of files are there in Unix? |
| A. | 2 |
| B. | 3 |
| C. | 4 |
| D. | 5 |
| Answer» C. 4 | |