USB Linux Wipe Format Ext2 Filesystem
Find the correct device
fdisk -l
Unmount the device
unmount /dev/sdc
Wipe the device (handles bad blocks too)
dd if=/dev/zero of=/dev/sdc bs=4k
Format device
mke2fs /dev/sdc1
Make a mount point
mkdir /mnt/memstick
Mount the device
mount /dev/sdc1 /mnt/memstick