Format a USB flash drive with Fat32 from the Ubuntu terminal
Locate the device name and path by running
sudo fdisk -l
Format the drive
sudo mkfs.vfat device/path