To Delete partition first, we need to list out the available partitions and select the appropriate disk. For that, we can use the fdisk command to list out and delete the selected partition.