Questions tagged [shred]
The shred tag has no summary.
37 questions
1
vote
0
answers
50
views
Shred command results in faulty keyboard
On at least three Lenovo Laptops, many keys no longer work following the use of the shred command.
I used a bootable Ubuntu USB key.
Within the Ubuntu OS, in the terminal window:
sudo fdisk -l
sudo ...
0
votes
0
answers
450
views
Can `shred` show estimate remaining time?
I used -vfz and it shows the size and percentage of current wiped amount, but I would like to see the remaining time. I think I can calculate time myself, because it seems that it wipes about 630 MB ...
-1
votes
1
answer
2k
views
How to quickly and securly erase data on a disk?
I'm going to securely erase the data on a HDD so that I can donate it.
I use shred which is a specialized the tool for this puprose.
So I run shred -vfz /dev/sdd1 and it does its job:
shred: /dev/...
0
votes
0
answers
1k
views
Why is the shred command so slow at zeroing some models of hard drives? (like Seagate Barracuda ES.2)
When used, with -n0 (that is without the three initial random passes of the default option) the shred command is usually fast at zeroing hard drives:
shred -n0 -z -v -f /dev/sdb
However, I observed ...
17
votes
3
answers
10k
views
How can I verify that my hard disk has been zeroed / wiped?
I used shred to wipe my external hard disk:
sudo shred -vz /dev/sdb
I should also add that the disk had 5 bad sectors.
I want to verify the disk has been zeroed, per https://superuser.com/questions/...
4
votes
3
answers
2k
views
Using "shred" on BSD systems
Linux has shred, from the GNU coreutils package, to securely overwrite data in-place when removing files. What is the equivalent on BSD systems (and specifically on macOS)?
0
votes
1
answer
659
views
Shredding one partition messes up whole external drive
I used the "shred" command on Linux to wipe a specific partition on my HDD (just a once-over with zeroes; no extra passes of random data).
The command I used:
shred -uvz -n 0 /dev/sda
But ...
3
votes
1
answer
927
views
Output to variable or file using (find with -exec and shred)
I have a find command that I exec to shred and it works great; however, I need to capture the output of this and pass to a variable or a file. I have tried so many iterations of the below commands, ...
2
votes
1
answer
3k
views
How to use the shred command the right way?
I got to know about shred yesterday.
I want to know the proper way of removing files with it.
Should I first shred the file and then use rm to remove it?
$shred <file>
$rm <file>
Or ...
13
votes
5
answers
51k
views
Filling my hard drive with zeros
I m looking for best and fastest way to remove all my data From hard drive.
I M on linux
Of you know something with doing this operation on a USB stick share with me.
Other ways are also acceptable
...
0
votes
0
answers
269
views
replace remove command (in Linux - overall) with shred
short question: as the title suggests, a system-wide shred instead of the command rm
Long question:
I know about the "replace" command,
as well as I could just to rm = shred (or something on ...
11
votes
1
answer
1k
views
Using ddrescue to shred only rescued portions of disk
Magnetic drive has failed.
I used ddrescue to recover ~85% of it, with a map file, but the rest is borked and continuing to scrub it would take years.
I can return it for a replacement.
I'd like to ...
0
votes
0
answers
461
views
How to mount a usb harddisk after a interrupted shred
Shred command was interrupted by a unrelated and user induced system halt.
Now I'm not able to see the harddisk using lsblk -l. Tried on multiple linux systems.
This answer (from External HDD detected,...
0
votes
1
answer
874
views
Why is shred's -z option twice as slow?
I'm using shred to wipe a partition, and did some speed testing. My results were, in seconds:
6.4 using /dev/zero as the data source
6.5 shred's default raondom implementation
12.9 using shred's `...
39
votes
5
answers
42k
views
Is shred bad for erasing SSDs?
Whenever I sold a drive I've zeroed it once with shred from a live environment:
sudo shred -vzn 0 /dev/sdX
Before I double-checked it wasn't mounted. This is the fastest way to securely erase a drive ...