How to list all the Linux partitions on a Linux System

Problem: You want to know which Linux partitions exist on a file system.

Solution: Use ‘fdisk -l’


man fdisk

-l     List  the  partition  tables  for  the specified devices and then exit.  If no devices are given, those mentioned in /proc/partitions (if that exists) are used.

See also:

9 Linux commands to look at disks

Share this article

Leave a Reply

Your email address will not be published.

Scroll to Top