Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Best tool to recover removed files

I just run command: rm -r ~/.config/ ~/.cache/ and all my files from computer are gone. How I can restore them?

share|improve this question

marked as duplicate by Marco Ceppi Jan 30 '12 at 23:03

This question was marked as an exact duplicate of an existing question.

This has been asked before, try the answer to this question: Best tool to recover removed files
Flagging for moderation as duplicate

share|improve this answer
Seems like I have more serious problem, Ubuntu crashed: no network connection (and can not set it up),sound system is gone. I can not download foremost because there is no Internet connection. So I have installed from USB another Ubuntu on the same laptop and it works fine. I have downloaded foremost on it. But how I can access (or recover) the lost files from the first one? I am not able to see this part of HD from the second Ubuntu, which works fine. Will be grateful for any help. – Natalia Jan 29 '12 at 1:30
By installing a second copy of Ubuntu, you've already written over some of the free space on your hard drive, the space that they delete files may still exist on. If you want to recover those files, you need to stop writing to that drive and use a second drive. – Huckle Jan 29 '12 at 4:16

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