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
Use sfdisk to view the disk partition.
sudo sfdisk -l
sudo sfdisk -l /dev/sda
View the disk partition using lsblk.
lsblk
Use parted to view the disk partition.
sudo parted -l
View disk partition using cfdisk
sudo cfdisk /dev/sda
Use df to display the disk partition.
df -h
df -h | grep ^/dev
Use blkid to view the disk partition.
blkid
Use lshw to view the disk partition.
sudo lshw -short -class disk -class volume
Use cat to view the disk partition.
Code]cat / proc / partitions
Recommended Reading: Plumber Media Trimmer Cutter-Crop Online Video Without Downloading Ubuntu Completely
If you like this article, subscribe to us YouTube channel.. You can also stay connected with us twitter And Facebook..
..