TestOut Linux Pro Practice Test 2026 - Free Linux Pro Practice Questions and Study Guide

Question: 1 / 400

What command would display the available disk partitions on your system?

df -h

lsblk

fdisk -l

The command that effectively displays the available disk partitions on your system is indeed `fdisk -l`. When executed, this command lists all the disk devices and their respective partitions, along with details like the partition size, type, and filesystem. It is particularly useful for administrators who need to understand the partition layout of their storage devices.

In the context of the other commands, while they can provide related information, their primary purposes differ slightly:

- `df -h` is primarily used to report the disk space usage of filesystems, listing out how much space is used and available on each mounted filesystem. It will show you how much storage you have left, but it won’t give you a detailed breakdown of the partition layout on the disks.

- `lsblk` provides a list of block devices in a tree-like format, showing how storage devices are mounted and their relationships but may not specifically reflect detailed partition tables. It is great for visualizing how disks are partitioned and connected but does not give as much low-level detail as `fdisk`.

- `parted -l` lists the partitions on all block devices and can provide information similar to `fdisk`. However, it is more commonly used for partition management tasks. It also requires administrative

Get further explanation with Examzify DeepDiveBeta

parted -l

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy