Insight: How to repair a Corrupted USB Drive in Linux
No matter how small is your usb drives, it always can hold files with bigger importance. However, sometimes your small usb drives can get corrupted without any notices and stopped working out. Good news is that you can repair a corrupted USB drive if you are using linux.
fsck command on a specific partition to remove the bad block in your drive or in your partition. (e.g. /dev/sdc1), (e.g. /dev/sdc).
sudo fsck /dev/sdc1
Meanwhile, when you drive is completely unreadable then you have only option left to make it to zero.
sudo dd if=/dev/zero of=/dev/sdc
sudo mkfs.msdos -f 32 /dev/sdc1
sudo mkfs.ext4 -f /dev/sdc1
sudo mkfs.ntfs -f /dev/sdc1