4. to test bad blocks on hard disk on Linux, sudo pv -nb /dev/sda > null or replace /dev/sda with the device of your hard disk.The errors will print in dmesg (comfortable viewing with command dmesg -TL=always|less -R)#linux #dmesg #badblocks #harddisk #hdd #devnull #root