CompTIA
LX0-103 · Question #96
LX0-103 Question #96: Real Exam Question with Answer & Explanation
The correct answer is A: cat /proc/self/mounts. Both mount (run without arguments) and cat /proc/self/mounts display the list of all currently mounted filesystems on a Linux system.
Devices, Linux Filesystems, Filesystem Hierarchy Standard
Question
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)
Options
- Acat /proc/self/mounts
- Bfree
- Cmount
- Dlsmounts
- Ecat /proc/filesystems
Explanation
Both mount (run without arguments) and cat /proc/self/mounts display the list of all currently mounted filesystems on a Linux system.
Common mistakes.
- B.
freereports system memory and swap usage and has no output related to mounted filesystems. - D.
lsmountsis not a standard Linux command and is not present in mainstream distributions. - E. /proc/filesystems lists filesystem types the running kernel supports or has loaded as modules, not the filesystems that are currently mounted.
Concept tested. Commands to display currently mounted filesystems
Reference. https://man7.org/linux/man-pages/man8/mount.8.html
Topics
#mount#/proc/self/mounts#mounted filesystems#filesystem status
Community Discussion
No community discussion yet for this question.