What command is used to view information about all disk partitions?

The command used to view information about all disk partitions in a Unix-like operating system is:

sudo fdisk -l

This command lists all disk devices and their partitions, providing details such as disk size, number of sectors, and partition tables. You may need superuser privileges (hence the use of sudo) to access this information.

0 Comments

no data
Be the first to share your comment!