What command displays the current partition sizes and mount points in Linux?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command that displays the current partition sizes and mount points in Linux is commonly known as the "df" command. This command provides an overview of the filesystem disk space usage, showing how much space is used, available, and the percentage usage for each mounted filesystem.

The "df" command outputs details such as the filesystem name, size, used space, available space, and the mount point, making it useful for administrators who need to assess storage utilization on their system.

The "blkid" command is used to display information about block devices, including their UUIDs and filesystem types, but does not show the sizes or mount points in an easily readable format. The "du" command is used to estimate file and directory space usage rather than providing information on partitions. Lastly, the "mount" command shows currently mounted filesystems and their mount points but lacks the output related to partition sizes. Thus, the "df" command is the most appropriate choice for displaying partition sizes and mount points.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy