LFCS Storage Management Practice Question
Which of the following commands can be used to display the total, used, and available space for all mounted ext4 filesystems?
⚠ Common exam trap
It's easy for candidates to confuse `lsblk` or `fdisk -l` as disk space commands, but these tools show partition layout or device information, not filesystem-level usage statistics like total, used, and available space.
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
✓
df -hT
The `df -hT` command displays disk space usage for all mounted filesystems, with the `-h` flag providing human-readable sizes (e.g., GB, MB) and the `-T` flag showing the filesystem type (e.g., ext4). This directly meets the requirement to show total, used, and available space for all mounted ext4 filesystems.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
lsblk
Why it's wrong here
lsblk lists block devices but not space usage.
- ✗
fdisk -l
Why it's wrong here
fdisk shows partition tables, not mounted filesystem usage.
- ✓
df -hT
Why this is correct
df -hT shows mounted filesystems with type and usage.
- ✗
tune2fs -l /dev/sda1
Why it's wrong here
tune2fs shows superblock info, not usage.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LFCS question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LFCS practice question is part of Courseiva's free Linux Foundation 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 LFCS exam.