The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 12 03-28-2009 03:37 PM
Recovering lost folders/files data Yorgy UNIX for Dummies Questions & Answers 0 03-15-2007 05:46 PM
Will Old Files Be Removed sunsation UNIX for Dummies Questions & Answers 5 06-27-2005 12:24 AM
Recovering lost files LivinFree UNIX for Dummies Questions & Answers 1 08-16-2001 10:15 AM
Bring back removed files Reza Nazarian UNIX for Dummies Questions & Answers 2 07-23-2001 10:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-15-2006
jack1981 jack1981 is offline
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
  #2 (permalink)  
Old 09-15-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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 06:48 AM..
  #3 (permalink)  
Old 09-15-2006
jack1981 jack1981 is offline
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.
  #4 (permalink)  
Old 09-15-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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.
  #5 (permalink)  
Old 09-15-2006
jack1981 jack1981 is offline
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0