How to check hard disk partition on Ubuntu

Ubuntu allows you to view and view hard disk or hard disk drive partitions through a terminal application without using a third-party GUI tool. This allows you to check the number of partitions already created on the disk and check the free space on the disk. In this article, I will show you how to view all Ubuntu hard disk partitions via terminal.

Use fdisk to view the disk partition.

Open a terminal application (ctrl + alt + t) and run this command.

sudo fdisk -l

How to check hard disk partition on Ubuntu

Use sfdisk to view the disk partition.

sudo sfdisk -l
sudo sfdisk -l /dev/sda

How to check hard disk partition on Ubuntu

View the disk partition using lsblk.

lsblk

How to check hard disk partition on Ubuntu

Use parted to view the disk partition.

sudo parted -l

How to check hard disk partition on Ubuntu

View disk partition using cfdisk

sudo cfdisk /dev/sda

How to check hard disk partition on Ubuntu

Use df to display the disk partition.

df -h
df -h | grep ^/dev

How to check hard disk partition on Ubuntu

Use blkid to view the disk partition.

blkid

How to check hard disk partition on Ubuntu

Use lshw to view the disk partition.

sudo lshw -short -class disk -class volume

How to check hard disk partition on Ubuntu

Use cat to view the disk partition.

Code]cat / proc / partitions

Recommended Reading: Plumber Media Trimmer Cutter-Crop Online Video Without Downloading Ubuntu Completely

How to check hard disk partition on Ubuntu

If you like this article, subscribe to us YouTube channel.. You can also stay connected with us twitter And Facebook..

..

Sidebar