Which Linux command is used to display disk usage in a human-readable format? MCQ with Answer and Explanation

Which Linux command is used to display disk usage in a human-readable format?
A. fdisk -l
B. lsblk
C. du -h
D. df -h
Answer: Option D
Solution (By JKSSB Mock Tests)
df -h shows file system disk space usage in human-readable format (GB, MB).

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which Linux command is used to find the location of an executable?
A. which
B. whereis
C. locate
D. find

Correct Answer: Option A


Explanation:
which shows the full path of the command that would be executed, searching in PATH directories.

This question belongs to: Computer Operating Systems
Question #2
Which of the following is a feature of a preemptive multitasking system?
A. No process can be interrupted once started
B. The OS can interrupt a process to give CPU time to another
C. Only one process runs at a time
D. Processes must voluntarily yield CPU

Correct Answer: Option B


Explanation:
Preemptive multitasking allows the OS to forcibly preempt a running process to allocate CPU to another, ensuring responsiveness.

This question belongs to: Computer Operating Systems
Question #3
What is the purpose of the Android 'Package Manager'?
A. To handle content providers
B. To manage system packages and libraries
C. To install, upgrade, and remove applications on the device
D. To manage notifications

Correct Answer: Option C


Explanation:
Package Manager is responsible for installation, update, and removal of apps, managing APK files and application metadata.

This question belongs to: Computer Operating Systems