QuestionQ23

Essential Commands

Which of the following commands can be used to display every filesystem that is currently mounted?

Choose two
  • A cat /proc/self/mounts
  • B free
  • C mount
  • D lsmounts
  • E cat /proc/filesystems
Explanation

/proc/self/mounts lists the filesystems currently mounted in the calling process’s mount namespace. The mount command, when run with no arguments, prints the list of mounted filesystems. In contrast, /proc/filesystems reports filesystem types supported by the kernel, not the filesystems that are mounted.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!