How can I view disk partitions in CentOS?
In CentOS system, you can use the following command to view disk partitions:
- List block devices
lsblk
- ndf
df -h
- fdisk is a disk partitioning utility.
fdisk -l
Note: Executing the above command requires root or sudo privileges.