badblocks
all
Search a device for bad blocks. Some usages of badblocks can cause destructive actions, such as erasing all data on a disk, including the partition table.
More info →Examples (6)
Search an unmounted disk for bad blocks with a [n]on-destructive read-write test
made by @shridhargupta | data from tldr-pages