With an SSD or modern HDD look for "secure erase", e.g., with hdparm or gparted. -- Best regards, Jörg-Volker.