Disable ads (and more) with a premium pass for a one time $4.99 payment
The command used for finding information on partitions of drives that utilize the GPT (GUID Partition Table) format is "gdisk." This tool is specifically designed for handling GPT partition tables and can be used to create, delete, and manipulate partitions on drives formatted with GPT.
Gdisk provides a suite of commands that not only allows users to view the partitioning schema but also provides the ability to convert MBR partitions to GPT, and vice versa, ensuring comprehensive management of disk partitions.
While other commands like "fdisk," "parted," and "lsblk" can interact with disk partitions, they are not as specialized for GPT as gdisk is. For example, "fdisk" is typically used with MBR and may not fully support the features of GPT. "Parted" can work with both MBR and GPT but does not offer the same level of GPT-specific functionality as gdisk. "lsblk" is primarily used for listing block devices and their mount points but does not provide detailed information on partition types or manipulate partitions directly. Thus, for tasks specifically involving GPT partitions, gdisk is the preferred and most appropriate choice.