The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Recovering 5.0.7 from Bootable CD teamhog SCO 11 06-12-2007 10:20 AM
Recovering lost folders/files data Yorgy UNIX for Dummies Questions & Answers 0 03-15-2007 01:46 PM
Will Old Files Be Removed sunsation UNIX for Dummies Questions & Answers 5 06-26-2005 09:24 PM
Recovering lost files LivinFree UNIX for Dummies Questions & Answers 1 08-16-2001 07:15 AM
Bring back removed files Reza Nazarian UNIX for Dummies Questions & Answers 2 07-23-2001 07:52 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-15-2006
Registered User
 

Join Date: Jul 2006
Posts: 42
recovering files removed with rm

Hello,

I was reading the manual on rm and it states that when you use 'rm' the files are usual recoverable, how is this done?

Does it assume that a backup system is in place?

Cheers

Jack
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-15-2006
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
What OS are you using? The Solaris man page for rm does not even have the word 'recover' in there. And no, there are no assumptions in the man page.

Last edited by blowtorch; 09-15-2006 at 03:48 AM.
Reply With Quote
  #3 (permalink)  
Old 09-15-2006
Registered User
 

Join Date: Jul 2006
Posts: 42
using putty client to connect to a redhat server using the bash shell

Code:
 Note that if you use rm to remove a file, it is usually possible to recover the contents of that file.  If you want more assurance that
       the contents are truly unrecoverable, consider using shred.
Reply With Quote
  #4 (permalink)  
Old 09-15-2006
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
OK, what they mean is that if someone really, really wants to get data from your disks, then they can even, if the file has been removed. This does not apply to casual users, but needs to be secured in an environment where confidentiality is a high priority (finance, defence, etc). And it does not mean that you can use an undelete a file.

The data can be read because only the inode entries for a file are removed, the data sectors allocated to it are still there on the disk. But to recover the data, you need to directly read the sectors from the disk and then try to make sense of them later.
Reply With Quote
  #5 (permalink)  
Old 09-15-2006
Registered User
 

Join Date: Jul 2006
Posts: 42
Thanks for the info. So shred works by over writing the data and then removing it so even when still on disk but out of OS it can't be read in it's original form.

Cheers

J
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0