format flash drive ubuntu terminal code example
Example: linux format usb command line
df -h
Select the correct drive
sudo umount /dev/sdc1
This command formats the drive as FAT32, you can use other formats too
sudo mkfs.vfat /dev/sdc1
df -h
Select the correct drive
sudo umount /dev/sdc1
This command formats the drive as FAT32, you can use other formats too
sudo mkfs.vfat /dev/sdc1