command prompt to format a usb drive linux code example
Example: linux quick format usb drive
umount
fdisk -l to get the dev/sxxx
For the vFAT (FAT32) file system: sudo mkfs.vfat /dev/sdc1
umount
fdisk -l to get the dev/sxxx
For the vFAT (FAT32) file system: sudo mkfs.vfat /dev/sdc1