Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [data-destruction]

Wiping data from a storage medium so that it cannot be recovered

28
votes
11answers
10k views

Erasing a Linux laptop

I have a laptop with Debian on it, and I am going to sell this laptop. Would it suffice to erase the Debian installation before selling it to completely clean up my laptop from my personal data, and ...
5
votes
2answers
432 views

Emergency wipe SSD

I have a SSD drive with encrypted partition. How to discard all data with one command? Or damage it to non-recoverable state? Even if partition is in use. === edit === okay, after discussing we ...
1
vote
1answer
163 views

Making a Deleted folder Impossible to Recover [duplicate]

Suppose you visit a bad location on earth with your laptop. Thieves are about to break in and steal your laptop. So you run : rm -rf /folder but what if thieves have very advanced tools to recover ...
-3
votes
1answer
511 views

Does “Darik's Boot And Nuke” effectively erase data so that it cannot be recovered? [closed]

This is about software called "Darik's Boot And Nuke". I'm going to use it too erase all my data on my Hard Drive & then install Arch Linux. Is it going to work? I'm booting from a CD. I know ...
5
votes
1answer
483 views

Regarding the creation and destruction of sensitive data on linux/unix systems

In modern file systems (and on modern SSDs) there is no guarantee that if you write over a file using a traditional utility (such as dd) that the data will be overwritten in-place and journaled ...
32
votes
6answers
5k views

How can I securely delete the contents of a thumb drive so data can't be recovered.

I would like to know how to delete a USB flash drive via the terminal if possible so data can't be recovered.
1
vote
2answers
639 views

Securely shredding files

Is the following a secure way of shredding files in *NIX systems: shredder.sh #!/bin/bash # Define number of rewrites COUNT=20 # Define file size FILE_SIZE=`wc -c < "$1"` # Begin rewriting file ...
2
votes
1answer
228 views

Secure deletion on BTRFS in LVM

I have a BTRFS filesystem in an LVM logical volume, which exists inside of a LUKS disk. For reference's sake, let's call the LV lvm-root, and the LUKS disk crypt-root, and the BTRFS filesystem fs-root....
2
votes
4answers
2k views

Multiple passes of wiping disk with `dd`

I want to use dd to overwrite a disk multiple times to destroy data beyond recovery. I know I could use dd if=/dev/zero/ of=/dev/sdx/ to do a pass with zeros, or dd if=/dev/null/ of=/dev/sdx/ to ...
5
votes
3answers
2k views

How to securely delete a directory without leaving a trace?

I already know that using shred will overwrite my files in such a way that leaves them unrecoverable. However shred can't be used to hide directories. Error Message: failed to open for writing: Is ...
-1
votes
1answer
52 views

Reboot and zero drive

Is it possible to issue one command that will both reboot, boot to an external live drive or something similar, and then zero a hard drive?
14
votes
2answers
658 views

How can I be sure that a directory or file is actually deleted?

I know that most files, when deleted, aren't actually removed from the disk, and can be recovered later. How can I ensure that a directory I had deleted will actually be removed from the disk? Are ...
42
votes
7answers
71k views

How do I recursively shred an entire directory tree?

I have a directory tree that I would like to shred with the Linux 'shred' utility. Unfortunately, shred has no -R option for recursive shredding. How can I shred an entire directory tree ...
11
votes
5answers
4k views

how do I wipe a server that I don't have physical access to?

I have a Godaddy dedicated server that I would like to cancel. Before I do that I'd like to do a clean format on the server to make sure that the next person who gets the server isn't able to undelete ...
16
votes
8answers
15k views

What's the best way to format a HDD in Linux in order to leave no trace?

I'm running Debian and need a way to format the entire hdd in order to not leave any trace on it because I want to donate it to a friend. So what will be the best way in order to format it? If I ...