nerdexam
EC-Council

312-49 · Question #319

What will the following command accomplish in Linux? fdisk /dev/hda

The correct answer is A. Partition the hard drive. fdisk is a Linux command-line utility for managing disk partition tables. Running 'fdisk /dev/hda' opens an interactive partition editor for the first IDE hard drive (/dev/hda). From here, an administrator can create, delete, or modify partitions. It does not format the drive…

Submitted by yuki_2020· Apr 18, 2026Disk Forensics

Question

What will the following command accomplish in Linux? fdisk /dev/hda

Options

  • APartition the hard drive
  • BFormat the hard drive
  • CDelete all files under the /dev/hda folder
  • DFill the disk with zeros

How the community answered

(22 responses)
  • A
    86% (19)
  • B
    9% (2)
  • C
    5% (1)

Explanation

fdisk is a Linux command-line utility for managing disk partition tables. Running 'fdisk /dev/hda' opens an interactive partition editor for the first IDE hard drive (/dev/hda). From here, an administrator can create, delete, or modify partitions. It does not format the drive (that requires mkfs), does not delete files directly, and does not zero-fill the disk (that would use dd with /dev/zero). fdisk strictly operates on the partition table structure of the specified disk.

Topics

#fdisk#disk partitioning#Linux commands#Disk management

Community Discussion

No community discussion yet for this question.

Full 312-49 Practice