LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 01-30-2012, 12:19 AM   #1
Aneesh.T .S
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: 0
Smile How to recover deleted document from redhat Linux"


Dear Friends,
I had deleted one Document (used rm -rf)from my Redhat Linux 5 mistakenly.But now i need that Document,But I do not know how to recover that document.So kindly Explain my FRIENDS "How to recover deleted document from redhat Linux".

Regards
Aneesh T S

Last edited by Aneesh.T .S; 01-30-2012 at 12:20 AM.
 
Old 01-30-2012, 01:02 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Barcelona, Spain
Distribution: LMDE Gnome with Awesome WM + Kernel 3.3.0-1 amd64
Posts: 6,529
Blog Entries: 1

Rep: Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220
Hello,

Have a look at TestDisk and PhotoRec. There pretty good in recovering files, depending on the type. Read the user manual / man page before jumping in.

Kind regards,

Eric
 
1 members found this post helpful.
Old 01-31-2012, 01:44 PM   #3
Reuti
Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 970

Rep: Reputation: 184Reputation: 184
Even if you are lucky and can recover the file, maybe it’s a point to start thinking about a backup for valuable data. In this case also a local former version would have been helpful (maybe something like rdiff or rsnapshot).
 
Old 01-31-2012, 05:57 PM   #4
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 7,281

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
besides all of the above
depending on IF you used gedit to make the file there MIGHT be a auto saved back up IF you turned that on
hit < control> + < h> to show the hidden filed and look for a file by that name with a " ~ " after it's name
 
Old 02-03-2012, 09:19 PM   #5
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 354

Rep: Reputation: 23
Quote:
Originally Posted by John VV View Post
besides all of the above
depending on IF you used gedit to make the file there MIGHT be a auto saved back up IF you turned that on
hit < control> + < h> to show the hidden filed and look for a file by that name with a " ~ " after it's name
Can you explain why/how gedit creates the " ~ " files?

thanks for sharing the tip for control + h
 
Old 02-03-2012, 09:25 PM   #6
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 7,281

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
it is on the every day program preferences

on the preferences " Editor" tab
a check box " make back up copy before saving"
 
Old 02-03-2012, 09:27 PM   #7
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS w/Cpanel
Posts: 1,134

Rep: Reputation: 51
You can use TSK/Autopsy to find deleted files:
http://www.sleuthkit.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to recover data on card accidentally deleted using "rm dev/card"? Aagam Linux - Newbie 3 12-19-2011 12:11 PM
How recover deleted files in redhat linux basith7861 Linux - Newbie 2 05-03-2011 05:29 AM
Can I recover a deleted file in Linux ? josedsilva Linux - General 10 01-05-2010 07:49 AM
Recover data which was deleted- Linux linuxguy08 Linux - Server 2 09-10-2008 07:37 PM
How to recover "Shift Delete" deleted files? gimmee Fedora 1 07-05-2007 05:07 AM


All times are GMT -5. The time now is 09:52 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration