1 example for badblocks
# Check a device for bad blocks in a non destructible way
#Change /dev/sdX with the path to the device
badblocks -nsv /dev/sdX
# Check a device for bad blocks in a non destructible way
#Change /dev/sdX with the path to the device
badblocks -nsv /dev/sdX