Linux Commands Helper

💬 Your AI-powered Linux assistant

fdisk Command - Partition Disk Drives

The fdisk command is used to create, delete, and manage partitions on a hard disk.

Syntax

fdisk [options] device

Examples

fdisk /dev/sda

Open fdisk interactive mode for /dev/sda.

fdisk -l

List all partitions on all disks.

Notes

  • Changes using fdisk generally require the partition to be unmounted and may require a reboot.
  • Be cautious as incorrect partitioning can lead to data loss.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame