Which of the following commands in Linux is used to create a completely new, empty directory? MCQ with Answer and Explanation

Which of the following commands in Linux is used to create a completely new, empty directory?
A. mkdir
B. rmdir
C. touch
D. mv
Answer: Option A
Solution (By JKExamLibrary)
The 'mkdir' (make directory) command is used across Unix-like environments to create fresh directory structures.

This question belongs to: Computer Operating Systems

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1 Report Error
In Windows, the 'PowerShell' is:
A. An advanced command-line shell
B. All of the above
C. A replacement for Command Prompt
D. A task automation framework and scripting language

Correct Answer: Option B


Explanation:
PowerShell is a powerful scripting environment with cmdlets, object-oriented pipeline, and automation capabilities.

This question belongs to: Computer Operating Systems
Question #2 Report Error
What is the function of the 'Zygote' process in the Android operating system architecture?
A. It handles battery optimization functions for background hardware.
B. It is a base process that pre-loads common system classes to quickly fork new application processes.
C. It translates Dalvik bytecode into machine code at runtime.
D. It provides secure sandboxing for financial applications exclusively.

Correct Answer: Option B


Explanation:
Zygote is a special master process in Android that starts during system boot. It pre-loads framework resources and forks itself to instantiate new applications rapidly.

This question belongs to: Computer Operating Systems
Question #3 Report Error
Which command-line tool in Linux displays the current amount of free and used physical memory (RAM) and swap space within the system?
A. meminfo
B. top -s
C. free
D. df

Correct Answer: Option C


Explanation:
The 'free' command parses system configuration details to quickly display total, used, and available physical memory along with swap parameters.

This question belongs to: Computer Operating Systems