How can I view disk partitions in CentOS?

In CentOS system, you can use the following command to view disk partitions:

  1. List block devices
lsblk
  1. ndf
df -h
  1. fdisk is a disk partitioning utility.
fdisk -l

Note: Executing the above command requires root or sudo privileges.

Leave a Reply 0

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