Badblocks

badblocks -w -s -o error.log /dev/sdX

F3

f3write /POINT/DE/MONTAGE
f3read /POINT/DE/MONTAGE

source : https://www.cyberciti.biz/faq/linux-check-the-physical-health-of-a-usb-stick-flash-drive/