Disk Manipulation & Monitoring Commands In Linux


disk and partition manipulation commands in Linux


1) du >>>>>>>To check the utilized space size of file and folder

du -h /path_to_file

disk monitoring command du command

2) fdisk >>>>>> To create , delete , manage disk partition of any disk


disk and partition manage monitoring command


3) parted >>>>> disk partition manipulated tool

parted -l

parted /dev/sda unit MiB print free

parted command


4) lsblk >>>>> list the mounted disk block device with details

Disk & Partition Manage Commands In Linux

5) sfdisk >>>>> Advance tool of fdisk. It can list  the size of a partition, list the partitions on a device, check the partitions on a device, and - very dangerous - repartitions a device.

sfdisk -l

man sfdisk >> for detail information

disk partition monitoring commands linux


6) cfdisk >>>>> graphical version of fdisk. Easy and handy tool to create delete or manage partitions.

Disk & Partition Manage Commands In Linux

7) iostat >>>>> Show report of Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions.

iostat command Disk & Partition Manage Commands In Linux


Sharing is Caring


Post a Comment

0 Comments