← Prev | Next → |
This MCQ section contains the Computer fundamentals quiz on Linux. You can test your knowledge on the topic of Linux operating systems. 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 Quiz – Linux
1. Which of the following command drops a message to all the logged-in users.
Answer: Option A Explanation: The correct option is A. The Linux command “wall” is a broadcast command that is used by the administrators to send important messages to all the logged-in users.
|
2. In Linux, what does PPID stand for?
Answer: Option B Explanation: The correct option is B. The PPID stands for Parent Process Identification. Apart from the unique ID in Linux, every process has some parent process ID.
|
3. What does the command “sed” used for?
Answer: Option B Explanation: The SED command is a very useful text editor for substitution, insertion, deletion, search, etc. The SED command can edit files without opening them.
|
4. Which of the following command is used to remove the directory from the directory stack?
Answer: Option A Explanation: The correct answer is A.
|
5. Which of the following command is used to count the number of characters in a file?
Answer: Option D Explanation: The “wc” stands for word count. The WC command is used to count the number of lines, word count, byte and characters count in the files specified in the file arguments.
|
6. One of the following commands is used to take backup in Linux?
Answer: Option A Explanation: The correct option is A. The “cpio” stands for “copy in and copy out“.
|
7. Which of the following hardware architecture are not supported by Red Hat Linux?
Answer: Option A Explanation: The correct answer is option A.
|
8. What does GNU stands for?
Answer: Option B Explanation: The correct answer is option B
|
9. Which of the following Linux variants is the world’s largest Linux distribution in 2020?
Answer: Option D Explanation: The correct answer is option D.
|
10. One of the following commands is used to add the printing jobs to the queue?
Answer: Option C Explanation: The correct answer is option C. The “lpq” command is used to add the printing jobs to the queue in Linux.
|
11. What does the BASH stands for?
Answer: Option B Explanation: The correct answer is option B. The “BASH” stands for Bourne Again SHell.The BASH was scripted by Steve Bourne to replace the original Bourne Shell.
|
12. Which of the following user account is invalid in Linux?
Answer: Option B Explanation: The correct option is B. The special user account is an invalid account in Linux.
|
13.In Linux, the acronym for PWD is _______________.
Answer: Option A Explanation: The correct answer is option A. The PWD stands for Print Working Directory. The PWD command in Linus displays the path of the current directory starting from the root directory.
|
14. Which of the following symbols is the default prompt for the root user in Linux?
Answer: Option C Explanation: The correct option is C. The default prompt for the root user in Linux is represented by the symbol # (hash).
|
15. Which of the following is not the feature of Linux?
Answer: Option C Explanation: The correct option is C. Linux is not proprietary software. It is open-source software. Anyone can view codes, modifies and update them.
|
16. Which of the following is not the Linux shell?
Answer: Option C Explanation: The correct option is C. The horn shell is not a Linux shell.
|
17. Which of the following symbols indicate that you are currently logged in as a regular user?
Answer: Option B Explanation: The correct answer is B. The symbol $ (dollar) is the default prompt of the regular user account.
|
18. Which of the following command in Linux is not used to reboot the system?
Answer: Option C Explanation: The correct option is C. The “telinit” command does not reboot the system. The command “telinit” is used to switch to the specified run-level.
|
19. Which of the following is the Linux distribution that is dedicated to various information security tasks, such as Penetration Testing, Security Research, Computer Forensics, and Reverse Engineering?
Answer: Option C Explanation: The correct option is C. The Kali Linux is a dedicated Linux distribution for advanced penetration testing, cyber auditing, cyber forensic tools, etc.
|
20. Which of the following command is used to check the file-system usage in a Linux system?
Answer: Option B Explanation: The correct option is B. The “df” stands for disk filesystem. The df command is used to display the disc space in the file system.
|
← Prev | Next → |