Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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:
How to recover a file just deleted
How to undelete/restore the deleted files in ubuntu linux

I ran $rm -rf on a machine by mistake.
But it wasn't as a super-user, so only my home directory is lost, however I need to recover the files.

After the command was executed, I ran no more commands and instantly shut down the machine to prevent any data from being overwritten. I am currently running the machine through a live-disk.

Can anyone help me recover the lost files?
If it's any help, I am running Arch-Linux.

share|improve this question

marked as duplicate by jasonwryan, Mat, warl0ck, jw013, Gilles Sep 15 '12 at 18:00

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

The most important information that is missing is which filesystem are you using. – Krzysztof Adamski Sep 15 '12 at 10:40
And do you make periodic backups? (the answer is obviously no). – bsd Sep 15 '12 at 10:49
Personally I've had decent success with Raise Data Recovery – bsd Sep 15 '12 at 10:53
This question on SU may be useful. – terdon Sep 15 '12 at 12:32