What command shows the disk partitioning information?

Prepare for the Linux Professional Institute Certification Level 1. Use flashcards and multiple choice questions, complete with hints and explanations. Enhance your understanding and get ready to ace the exam!

The command that displays disk partitioning information is fdisk -l. This command is specifically designed to list the partitions on all the disks in the system, providing key details such as the device name, size, and partition type. It is particularly useful for managing partition tables and understanding how the disks are structured.

The other commands mentioned serve different purposes. For instance, df -h is used to report the disk space usage of file systems, showing information related to disk usage rather than partitioning. The command partinfo, while it sounds like it should provide partition information, is not a standard command found in most Linux distributions; thus, it's not reliable for this context. Finally, diskpart is a Windows command-line utility used to manage disks and partitions in a Windows environment, not applicable to Linux systems.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy