48.9k views
2 votes
Which of the following commands will check hard disk GPT partitions?

a) sfdisk
b) sgdisk
c) gdisk
d) cgdisk
e) gfdisk

1 Answer

5 votes

Final answer:

To check GPT partitions on a hard disk, the 'gdisk' tool and its variants 'sgdisk' and 'cgdisk' can be used, with 'sgdisk' being a command-line utility and 'cgdisk' providing a textual user interface.

Step-by-step explanation:

To check GPT partitions on a hard disk, you can use gdisk or its variants. The sgdisk command is a command-line utility that can be used to manage partitions on a GUID Partition Table (GPT) disk, which includes listing, deleting, creating, and modifying partitions. Another variant, cgdisk, offers a curses-based textual user interface which is also used for managing GPT partitions. Finally, gfdisk is a non-existent command and sfdisk supports GPT partitions but is more traditionally associated with MBR (Master Boot Record) partition tables.

User Paul Stearns
by
7.8k points