Which command displays the partition table in Linux?

Subh Singh
Invent the Future
The fdisk -l command is used to display the partition tables of detected disks in Linux. It shows information about disk partitions, such as their sizes and types.
Command:
sudo fdisk -l
Example:
If you type the following command in the Linux terminal, it displays the partition tables of detected disks.
sudo fdisk -l
Partition Table:
A partition table is a structure that stores information about the partitions on a disk.
Types and Uses:
- Disk Partitions – These are separate sections of a storage disk.
- Partition Size – This shows how much storage space a partition has.
- Partition Type – This shows the type of a partition.
- Partition Information – This includes details about the partitions on a disk.











