Skip to main content

Questions tagged [shred]

The tag has no usage guidance.

10 votes
4 answers
5k views

Recover a file after shred command

Let's say I have some sensitive files in my computer and I want to completely delete them so that no one can ever retrieve them. For that, I can use the rm command, but it's still easily recoverable. ...
Vincent's user avatar
  • 121
1 vote
2 answers
1k views

How to write a hard disk filling file with shred to erase disk data?

It is possible to obtain the searched result in the following two known but not searched ways: dd if=/dev/zero of=/path/to/mounted/partition/my_file.txt bs=64k But would it be possible to use to use ...
Alfred.37's user avatar
2 votes
1 answer
746 views

Which Linux shell command can completely remove a file from the system and make it unrecoverable?

Which Linux shell command can completely remove a file from the system and make it unrecoverable ? I have tied rm and shred but they have their limitations:- rm --help and see the information, you ...
Adarsh Goyal's user avatar
0 votes
1 answer
540 views

Is it safe to trust the `shred` command to delete a file on a modern hard drive?

I heard that hard drive cache can mess with the shred command making it not useful on modern hard drives, but I can't find any other evidence to back up that claim.
Kalcifer's user avatar
  • 101
0 votes
0 answers
526 views

Will tools like shred, wipe or dd (or hard drives in general) check that a write was successful?

I usually use shred to delete complete hard drives. But I was wondering if and how tools like shred, wipe or dd verify that the expected bits end up on the hard drive. Does a hard drive always check ...
Joe's user avatar
  • 101
0 votes
1 answer
211 views

Quick permanent erase with 3 modes of unnecessary files, short time and recovery search optimisation [duplicate]

My sister asked me to back her photos up to my external HDD and to format his laptop. Days later, my external HDD suffered a fail, resulting in loss of photos. I used Windows' Recuva, Linux's RD-Linux ...
Oo'-'s user avatar
  • 103
0 votes
0 answers
400 views

How to scramble a directory name as part of a secure erase under Linux?

There are many tools available for Linux to securely erase data on a per file basis: shred, wipe, srm, ... you name it. Related instructions and advices typically focus on the contents of the files to ...
Jürgen's user avatar
  • 101
0 votes
1 answer
488 views

How to verify that a shredding has been done?

I want to test a magnetic disk to be (quite) sure a shredding has been done. Hypo1 : a shred -n 3 was applyed Hypo2 : a shred -n 1 was applyed Hypo3 : no shred was applyed How to test in which state ...
Sandburg's user avatar
  • 165
1 vote
1 answer
55 views

Does one can detect previous OS data on memory card of Raspberry Pi?

1) I freshly installed Ubuntu Mate on Raspberry Pi and updated it and installed all required packages I need. Then I create disk image of that SD Card using Card Reader on Another PC as 'Backup Image'....
CrownedEagle's user avatar
3 votes
2 answers
10k views

how to securely wipe an AWS EBS volume (mag drive and SSD)

I have an SLES 12 SP1 system running on AWS. I need to "wipe" the EBS volumes before deprovisioning them as a customer requirement. The data is sensitive in a commercial way only (no TLAs). Is shred ...
Dinesh's user avatar
  • 189
1 vote
1 answer
1k views

What if any are the limitations of UNIX shred to wipe NTFS Windows disks?

Before I shred a NTFS disk with Ubuntu, can I count on shred to overwrite all data? Perhaps there is a better question to ask: please feel free to add additional questions that serve to trigger ...
gatorback's user avatar
  • 1,225
1 vote
1 answer
2k views

How do I shred just the first and last part of a device?

The shred command (of coreutils 8.23) overwrites a device with configurable data from beginning to end which is perfectly fine for the use cases it is designed for (which are all related to write ...
Kalle Richter's user avatar
15 votes
3 answers
40k views

Complete wiping of hard drive - shred, wipe or dd?

I need to wipe all data of a number of hard drives, from Ubuntu Linux. I have found three command line tools: shred, wipe and dd. It seems kind of random what people recommend. Sometimes someone ...
Mads Skjern's user avatar
  • 1,499
0 votes
1 answer
637 views

shred command overwrite value?

I'm trying to determine what shred uses to overwrite a file. Here's the description: Overwrite the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware ...
jww's user avatar
  • 12.3k
-5 votes
2 answers
276 views

How to fix the computer?? Typed sudo shred -rfz ~/* (or something like that) [closed]

One &^%@&& advised me to press alt+f2 and then type the above. And i did it... on my Dad's computer. He's furious now. How to fix this?
user289190's user avatar

15 30 50 per page