Skip to main content

Disk Management Commands

Your Linux system may have multiple disks (HDD or SSD). These disks may be divided into partitions. The partitions are generally called devices in Linux.

The commands mentioned in this section deals with disk management, partition handling, filesystem creation and filesystem checking.

You'll learn about the following commands:

Command Description Examples
df Checking disk space df command examples
dd Copying and converting files dd command examples
mkfs Format a disk or partition in a certain filesystem mkfs command examples
fsck Checking and (optionally) repairing the file system fsck command examples
findmnt Robust and customizable listing of mounted file systems findmnt command examples
Abhishek Prakash