You can use shred to wipe your drive using the command below: sudo shred -vfz /dev/sde Replace /dev/sde with your mount point Suppose you are selling your disks or you need to erase your portable drive. Removing and hiding file in a single command How to wipe a disk or partition with shred In the file removal steps, the file name is also mutated so it is non-discoverable. In the final pass, the file is overwritten with all zeros. In the output below, the file is overwritten 5 times. We don't need to remove file afterwards using rm with this flag.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |