#is there a way to do a certain command in console repeated x times?

6 messages · Page 1 of 1 (latest)

dull raptor
#

i want to boot by USB-stick on an infested win system and overwrite the whole HDD x times with random bits to "cauterize" the HDD

dull raptor
#

would
blkdiscard -fvsz /dev/sdx (in case of an SSD)
and shred -fuvz -n=5 /dev/sdx be sufficient for that task?

subtle forge
#

yes or just use Shred OS, a bootable tool

dull raptor
#

so, currently, i run blkdiscard -fvsz /dev/nvme0n1 andplan to run shred -fuvz /dev/nvme0n1 once it is finished

stable echo
dull raptor
#

i might do that tomorrow before installing mint on the disk