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. touch
C. mv
D. rmdir
Answer: Option A
Solution (By JKSSB Mock Tests)
The 'mkdir' (make directory) command is used across Unix-like environments to create fresh directory structures.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In a multiprocessor system, what is NUMA?
A. Network Unified Memory Architecture
B. Non-Uniform Memory Access, where memory access times vary based on the processor's location
C. New Unified Memory Access
D. Non-Universal Memory Architecture

Correct Answer: Option B


Explanation:
NUMA is a memory architecture where each processor has local memory, but accessing remote memory takes longer, affecting performance.

This question belongs to: Computer Operating Systems
Question #2
What does 'Thrashing' indicate in virtual memory system logs?
A. The system is spend overwhelmingly more time handling page swaps than processing actual application operations.
B. The hard drive is performing a high-speed defragmentation sweep.
C. The CPU core is overheating due to intense graphic gaming.
D. A network link is heavily saturated with incoming packets.

Correct Answer: Option A


Explanation:
Thrashing signals a severe memory deficit where the OS continuously pages data back and forth from disk, dropping productive execution to near zero.

This question belongs to: Computer Operating Systems
Question #3
What is the purpose of the Android 'Sensor Manager'?
A. To manage battery status
B. To provide access to device sensors (accelerometer, gyroscope, etc.)
C. To handle location services
D. To control camera

Correct Answer: Option B


Explanation:
Sensor Manager allows apps to read sensor data and register listeners for changes in sensor readings.

This question belongs to: Computer Operating Systems