LPIC-1 Devices, Filesystems and FHS Practice Question
Which TWO commands can be used to display the UUID of a filesystem? (Choose two.)
⚠ Common exam trap
Test-takers frequently confuse `mount` (which shows current mounts) with `blkid` or `lsblk` for UUID display, or think `/etc/fstab` is a command rather than a configuration file.
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
✓
lsblk -f
The `lsblk -f` command lists block devices and includes the filesystem UUID in its output, making it a valid tool for displaying UUIDs. The `blkid` command directly queries and displays UUIDs and other attributes of block devices, so it is also correct.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
df -h
Why it's wrong here
Shows disk usage in human-readable format, not UUID.
- ✗
mount
Why it's wrong here
Shows mounted filesystems but not UUIDs.
- ✓
lsblk -f
Why this is correct
Lists filesystem information including UUID when -f is used.
- ✗
cat /etc/fstab
Why it's wrong here
May contain UUIDs in fstab entries, but not a command to display UUID of current filesystems.
- ✓
blkid
Why this is correct
Displays UUID and other block device attributes.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-1 question from scratch — 527 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 LPIC-1 practice question is part of Courseiva's free LPI 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 LPIC-1 exam.