Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-07-2007, 07:17 PM
|
#1
|
Member
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145
Rep:
|
is it possible to recover deleted files under Ubuntu
Hi
I was wondering if it was possible to recover deleted files like you
can in windows? this means after I click the empty trash button.
If so what programs do I need to install?
What can I do to prevent a file from being recovered?
Is there a shredding program that will overwrite a file many times?
Thanks
Vanessa
|
|
|
12-07-2007, 07:24 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,400
|
Quote:
Originally Posted by vansch76
Hi
Is there a shredding program that will overwrite a file many times?
|
Yes, shred will do that. See:
man shred
------------------------
Steve Stites
|
|
|
12-07-2007, 07:58 PM
|
#3
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
My understanding is that shred doesn't work on journaling filesystems like ext3. http://linux.die.net/man/1/shred
I do however shred all my drives from a live CD before getting rid of a computer. It works fine on whole disks, just not on individual files.
http://en.wikipedia.org/wiki/Shredding
Last edited by pljvaldez; 12-07-2007 at 08:02 PM.
|
|
|
12-07-2007, 09:04 PM
|
#4
|
Member
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145
Original Poster
Rep:
|
Thanks for the info, that is part of what Im looking for!!
so If I have already deleted a file, is it posible to recover it and then shred it?
I want to get rid of my banking info, from my joint account with my ex husband. I
have a new bank and a seporate account now.
The shred command is just what I need, but I want to get rid of the original file.
From what I read on the links you two guys listed the files are actually still there,
just the space is marked as available. Is this correct?
Thanks again
Vanessa
|
|
|
12-07-2007, 11:23 PM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,448
|
No, you can't recover the file to then shred it. The data is (probably) still there, but getting to it would be extremely difficult. Even for an experienced user.
You need to shred instead of deleting - not after.
Some more fuel for your paranoia - there are actually two (deleted) copies of the data if you deleted it from the trashcan. Never did like that concept.
And of course, as file(s) are updated (in normal use), data blocks get re-written - somewhere else. So some of the data could be almost anywhere.
Or it could all have been over-written and be perfectly safe.
Don't worry about it unless your ex works for one of the "spooks".
|
|
|
12-08-2007, 03:05 PM
|
#6
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,400
|
Quote:
Originally Posted by vansch76
Thanks for the info, that is part of what Im looking for!!
so If I have already deleted a file, is it posible to recover it and then shred it?
I want to get rid of my banking info, from my joint account with my ex husband. I
have a new bank and a seporate account now.
The shred command is just what I need, but I want to get rid of the original file.
From what I read on the links you two guys listed the files are actually still there,
just the space is marked as available. Is this correct?
Thanks again
Vanessa
|
If you want to get rid of everything; data, journals, filenames, old partial blocks, even the partition table and MBR then I recommend dban:
http://dban.sourceforge.net/
dban is what I reach for whenever I hear the cops pounding up the steps.
--------------------------
Steve Stites
|
|
|
12-08-2007, 08:02 PM
|
#7
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,448
|
Quote:
Originally Posted by jailbait
dban is what I reach for whenever I hear the cops pounding up the steps.
|
Don't you get sick of doing that every couple of weeks .... ???  .... 
|
|
|
12-10-2007, 11:31 AM
|
#8
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
Quote:
Originally Posted by vansch76
Thanks for the info, that is part of what Im looking for!!
so If I have already deleted a file, is it posible to recover it and then shred it?
I want to get rid of my banking info, from my joint account with my ex husband. I
have a new bank and a seporate account now.
The shred command is just what I need, but I want to get rid of the original file.
From what I read on the links you two guys listed the files are actually still there,
just the space is marked as available. Is this correct?
Thanks again
Vanessa
|
I'm afraid the only way to get rid of the data is to shred (or use DBAN) the entire drive. That means you would have to reinstall your operating system and all of your programs (make a backup of important data because it will all be gone). That's the only way it will all be gone.
Unless you have some reason to be paranoid about getting rid of it right now, I would just wait until you want to reformat the drive someday, then shred it then.
|
|
|
12-11-2007, 06:51 PM
|
#9
|
Moderator
Registered: May 2001
Posts: 29,417
|
Quote:
Originally Posted by jailbait
dban is what I reach for whenever I hear the cops pounding up the steps.
|
Then you either have a very small HD or a mightly long flight of stairs or law enforcement over there is obese beyond hope ;-p I use DBAN a couple of times a week and even if writing one pass zeroes it isn't *that* quick.
|
|
|
All times are GMT -5. The time now is 04:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|