Which command shows currently mounted filesystems on a Linux system?

Prepare for the EC-Council Certified Ethical Hacker (CEH) Exam. Use flashcards and multiple-choice questions with hints and explanations. Enhance your cyber security knowledge and get ready for the exam!

Multiple Choice

Which command shows currently mounted filesystems on a Linux system?

Explanation:
Determining what is attached to the filesystem is about knowing what has been mounted where. The mount command, when run with no arguments, lists every filesystem currently mounted, showing the source device, the mount point, the filesystem type, and the mount options. This is exactly the information you need to see which parts of the filesystem tree are active and where they reside on disk. It reads from the system’s mount table (/proc/mounts or /etc/mtab), which is the authoritative source for currently mounted filesystems. The other commands serve different purposes: ifconfig shows network interfaces, ps lists running processes, and uname -a prints kernel and system information. For quick alternatives, you can also peek at /proc/mounts or use tools like findmnt, but the direct and standard way to view what is mounted is the mount command.

Determining what is attached to the filesystem is about knowing what has been mounted where. The mount command, when run with no arguments, lists every filesystem currently mounted, showing the source device, the mount point, the filesystem type, and the mount options. This is exactly the information you need to see which parts of the filesystem tree are active and where they reside on disk. It reads from the system’s mount table (/proc/mounts or /etc/mtab), which is the authoritative source for currently mounted filesystems.

The other commands serve different purposes: ifconfig shows network interfaces, ps lists running processes, and uname -a prints kernel and system information. For quick alternatives, you can also peek at /proc/mounts or use tools like findmnt, but the direct and standard way to view what is mounted is the mount command.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy