Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 427 Bytes

disk-tools.md

File metadata and controls

17 lines (11 loc) · 427 Bytes

Disk Tools

Safe Remove - srm

The secure remove toolkit:

  • srm
  • sfill
  • sdmem

Fill a Harddisk with 1000 1 GB files

for i in {000..999}; do dd if=/dev/zero of=filename${i} bs=$((1024*1024)) count=1024; done

The two leading zeroes in the range 00 means that all generated integers will be left padded to be 3 digits long.