Here are eight quick ways to do it on Ubuntu.

What is a Partition?

It presents almost everything you would ever need to know, but is still fairly neat and readable.

A Terminal Window open on Ubuntu.

Hannah Stryker / How-To Geek

It should be among your first picks if you want a quick partition list.

However, unlike fdisk it is not interactive, and it doesn’t handleGPT partitions.

It is commonly used when you oughta a script that manipulates partitions in some way.

The result of “sudo fdisk -l” in the Terminal.

It provides information about all of the hardware components of your PC, not just the storage devices.

As a result, the output tends to be both detailed and cluttered.

It does the same things, but is designed to make the output highly customizeable and more readable.

The output of “sudo sfdisk -l”

Pydf is not installed on most Linux distro by default.

However, there are a few variations of it that can narrow down our results.

Use parted to View and Manage Partitions

Parted is the built-in partition editor on most Linux distros.

The output of df -h is quite minimal.

It is extremely powerful, and worth familiarizing yourself with in general.

Which Utility Should You Use to View Partitions?

There really is no concrete answer here.

The output of lsblk. It is very organized.

fdisk is also a decent choice since it is simple to use and presents the desired information succintly.

The output of lshw.

The colorful output of pydf.

The abbreviated output from hwinfo.

The full output from

Output of “sudo parted -l” in the Terminal.

The GUI version of gparted.