Help for this page
my $cmd = "/usr/sbin/fdisk -c $device"; open my $fdisk, "| $cmd" ... for my $command ("n", "p", "1", "1", "+G", "t", "83", "w") { print $fdisk "$command\n"; };