Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can anyone help me out in getting back a deleted file in linux. Instead of giving this command " rm -rvf *~ ", I gave " rm -rvf * ".

Is there any way to get all files back ??

share|improve this question

migrated from stackoverflow.com Jul 2 '10 at 12:27

This question came from our site for professional and enthusiast programmers.

2 Answers 2

First think to do is power off the computer to avoid writing in the disk you delete your data.

After that, you can use one of several tools existing to recover. I like http://www.cgsecurity.org/wiki/PhotoRec, but it recover several file types an not only photos :)

You can also do an image of the disc you have deleted the files, and them, with your system up and running recover the files from the image (this works with photorec).

Some time ago I've similar problem and I find several tools to try recover the data. Each tools have some pros and cons. You can check this http://www.h-online.com/security/features/Digital-autopsy-747165.html and you will get an overview how data forensics works and in the last page you have listed some tools.

share|improve this answer
    
PhotoRec is the tool I recommend, so +1 to this. –  Broam Jul 2 '10 at 15:57

I have successfully recovered deleted files from my ext3 partition using ext3grep.

share|improve this answer

protected by slhck Jan 9 at 6:55

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.