Which Linux command is used to check the disk space usage of the root file system? MCQ with Answer and Explanation

Which Linux command is used to check the disk space usage of the root file system?
A. lsblk /
B. du -sh /
C. df -h /
D. fdisk -l
Answer: Option C
Solution (By JKSSB Mock Tests)
df -h / shows used/available space on the root partition; du -sh / calculates total size of all files under /, which is heavy.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which file allocation table structure uses an index block to store pointers to all distinct file data sectors, allowing efficient random access without fragmentation bottlenecks?
A. Indexed Allocation
B. Contiguous Method
C. Linked Method
D. Linear Block Mapping

Correct Answer: Option A


Explanation:
Indexed allocation consolidates all block pointers into a single dedicated index block, enabling direct access to any block without linear scanning.

This question belongs to: Computer Operating Systems
Question #2
Which of the following is a characteristic of a real-time operating system?
A. Deterministic response times
B. High throughput
C. Large storage support
D. Preemptive multitasking

Correct Answer: Option A


Explanation:
RTOS guarantees that critical tasks are executed within a specified time constraint (deterministic), essential for embedded systems.

This question belongs to: Computer Operating Systems
Question #3
What is the maximum memory addressable by a 32-bit Windows OS?
A. 4 GB
B. 16 GB
C. 2 GB
D. 8 GB

Correct Answer: Option A


Explanation:
A 32-bit OS can address 2^32 bytes = 4 GB of memory, though some is reserved for hardware.

This question belongs to: Computer Operating Systems