Which command in Linux is used to format a new disk partition?

  • mkfs
  • fdisk
  • format
  • mkpart
The correct answer is "fdisk." The fdisk command is used to create and manage disk partitions on a Linux system. It does not format the partition directly but is used to create and manage the partition structure. Formatting is typically done using tools like mkfs.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *