Ubuntu 管理心得

搜尋此網誌

2024年3月25日 星期一

shred wipe all data in ubuntu

sudo shred -vfz /dev/sdX

  1. -n , --iterations=N. Instead of the default (3) times, overwrite the data N times.
  2. -z , --zero. Add a final overwrite with zeros to hide shredding.
  3. -f , --force. Force the permissions to allow writing if necessary.
  4. -v , --verbose. Show progress in detail.
  5. -u , --remove. Truncate and remove file after overwriting.

沒有留言:

張貼留言

網誌存檔