← Prev | Next → |
This MCQ section contains the Computer fundamentals MCQ quiz on Unix operating system. You can test your knowledge of the basic commands and file structure of the Unix operating system. Each question is a multiple-choice type with a single answer. The section consists of 20 questions with multiple-choice options.
Each question is provided with the correct answer and an explanation for the correct answer. Click on the button named “Answer” just below the question to view the answer and the explanation. You can hide the answer and the explanation by re-clicking the “Answer” button.
Computer Fundamentals MCQ Quiz – Unix
1. Which of the following command is used to display the top of the file in Unix?
Answer: Option C Explanation: The correct option is C. The head command is used to display the few lines of a file in Unix.
|
2. In Unix, which of the following command is used to remove the directory?
Answer: Option A Explanation: The correct option is A.
|
3. One of the following special keys is used to move the cursor to the end of the paragraph in Unix.
Answer: Option B Explanation: The correct option is B.
|
4. The command for removing a file in Unix is _______________.
Answer: Option B Explanation: The correct answer is B.
|
5. Which of the following symbols is used to separate more than one command in the same Unix command line?
Answer: Option B Explanation: The correct option B. The symbol semicolon (;) is used to separate more than two commands in the same Unix command line.
|
6. You want to obtain the list of all files from the Unix directory by modification time. What command will you type in for this?
Answer: Option B Explanation: The correct option is B.
|
7. Which of the following command will display the characteristics of a process in Unix?
Answer: Option B Explanation: The correct answer is option B.
|
8. The Unix command to display and create files is ____________.
Answer: Option A Explanation: The correct answer is option A
|
9. In which programming language Unix source code is written?
Answer: Option A Explanation: The correct answer is A.
|
10. Using vi editor, which of the following command will perform forward search?
Answer: Option B Explanation: The correct answer is option B.
|
11. Which of the following are the characteristics of Unix OS?
Answer: Option D Explanation: The correct answer is option D.
|
12. The following Unix command will terminate the process.
Answer: Option B Explanation: The correct option is B.
|
13.Which of the following command will display the working directory?
Answer: Option C Explanation: The correct answer is option C. The PWD stands print working directory
|
14. Which of the following command will make the script interactive?
Answer: Option B Explanation: The correct option is B.
|
15. Which of the following statement describes the shell scripts?
Answer: Option D Explanation: The correct option is D.
|
16. Who wrote the first Unix source code?
Answer: Option B Explanation: The correct option is B. Ken Thompson along with Denis Ritchie developed Unix operating system.
|
17. Which of the following is not a type of Unix shell?
Answer: Option D Explanation: The correct answer is D. C-shell, Korn shell, and Bourne shell are the different types of Unix shell.
|
18. How many prompts are there in Unix systems?
Answer: Option B Explanation: The correct option is B. There are two prompts are available in the Unix system. They are PS1 (Primary prompt) and PS2 (Secondary Prompt).
|
19. Which of the following attributes of the ls command will display the attributes of the directory?
Answer: Option C Explanation: The correct option is C. ls -d command will display the attributes of the directory.
|
20. Which of the following editor is used to edit files in the Unix system?
Answer: Option C Explanation: The correct option is C. vi editor is used to edit files in Unix systems.
|
← Prev | Next → |