4 examples for diskutil
# Show detailed information on a particular disk or partition diskutil info disk-or-partition
# Format device /dev/disk3, giving it name "NAME", in given format (FAT32) diskutil eraseDisk FAT32 NAME /dev/disk3
# Show detailed information on a particular disk or partition diskutil info disk-or-partition
# Format device /dev/disk3, giving it name "NAME", in given format (FAT32) diskutil eraseDisk FAT32 NAME /dev/disk3