What command-line tool provides an interface for working with drive partitions in addition to others mentioned?

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-line tool that provides a comprehensive interface for managing drive partitions is "parted." This tool is particularly versatile as it supports various partition tables, including MBR (Master Boot Record) and GPT (GUID Partition Table), making it applicable for both older and newer systems.

Parted allows users to create, delete, resize, and manage partitions in a straightforward and user-friendly manner. It features a command syntax that is easier to operate, especially when performing complex tasks such as resizing partitions, which might be more challenging with other tools. Additionally, parted can handle both primary and extended partitions, adding to its utility in versatile disk management scenarios.

Other tools, like fdisk and gdisk, are indeed focused on partitioning, but they generally work with specific partition table types (MBR for fdisk and GPT for gdisk). In contrast, mkfs is used specifically for creating filesystem structures on partitions rather than managing the partitions themselves. Therefore, parted stands out as the most suitable option for a broader range of partition management tasks.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy