使用 shred /dev/hda 就可以讓你的硬盤數據立刻消失,永不超升。當然要使用你的硬盤的正確的設備文件。
默認情況下使用各種垃圾數據反復重寫25遍,加上 -v 參數就可以看到。
~~~snip~~~
$ shred -v /dev/hda
shred: /dev/hda: pass 1/25 (random)...
shred: /dev/hda: pass 2/25 (492492)...
shred: /dev/hda: pass 3/25 (000000)...
shred: /dev/hda: pass 4/25 (aaaaaa)...
shred: /dev/hda: pass 5/25 (555555)...
shred: /dev/hda: pass 6/25 (cccccc)...
shred: /dev/hda: pass 7/25 (b6db6d)...
shred: /dev/hda: pass 8/25 (333333)...
shred: /dev/hda: pass 9/25 (6db6db)...
shred: /dev/hda: pass 10/25 (dddddd)...
shred: /dev/hda: pass 11/25 (222222)...
shred: /dev/hda: pass 12/25 (ffffff)...
shred: /dev/hda: pass 13/25 (random)...
shred: /dev/hda: pass 14/25 (eeeeee)...
shred: /dev/hda: pass 15/25 (924924)...
shred: /dev/hda: pass 16/25 (777777)...
shred: /dev/hda: pass 17/25 (999999)...
shred: /dev/hda: pass 18/25 (111111)...
shred: /dev/hda: pass 19/25 (888888)...
shred: /dev/hda: pass 20/25 (bbbbbb)...
shred: /dev/hda: pass 21/25 (db6db6)...
shred: /dev/hda: pass 22/25 (444444)...
shred: /dev/hda: pass 23/25 (666666)...
shred: /dev/hda: pass 24/25 (249249)...
shred: /dev/hda: pass 25/25 (random)...
~~~snip~~~
參考 man shred。