easyMultiple SelectObjective-mapped
XK0-006 Practice Question: Which TWO commands display disk usage information…
Which TWO commands display disk usage information for filesystems? (Select 2.)
⚠ Common exam trap
A common pitfall on the CompTIA Linux+ exam is confusing filesystem usage commands (df, du) with partition management tools (fdisk, parted) or file listing commands (ls).
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
du
The `df` command (disk free) reports the amount of available and used disk space on all mounted filesystems, while `du` (disk usage) estimates file and directory space usage. Both commands are standard tools for displaying disk usage information for filesystems in Linux.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ls
Why it's wrong here
ls lists directory contents, not disk usage.
- ✓
du
Why this is correct
du estimates file and directory space usage.
- ✗
parted
Why it's wrong here
parted is a partition editor, not for disk usage.
- ✓
df
Why this is correct
df displays disk space usage for mounted filesystems.
- ✗
fdisk
Why it's wrong here
fdisk manipulates partition tables, not disk usage.
Go deeper
Related to this question
About these practice questions
One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.