To view hard drive partitions on a Linux system, you can use the fdisk
or parted
command.
The fdisk
command is a utility that allows you to view and manage disk partitions on a Linux system. To view the hard drive partitions using fdisk
, you can use the following command:
fdisk -l
This will display a list of all available disk partitions on the system. The output will show the device name, size, and type of each partition.
The parted
command is another utility that allows you to view and manage disk partitions on a Linux system. To view the hard drive partitions using parted
, you can use the following command:
parted -l
This will display a list of all available disk partitions on the system, along with information about the partition type, size, and file system.
By using the fdisk
or parted
command, you can view the hard drive partitions on a Linux system. You may want to refer to the documentation or online resources for these commands for more information about their options and usage.