Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I'm running Fedora 13 (Goddard) and when I was recursively removing a directory I noticed I had some files there I couldn't lose, so I interrupted the process with ctrl+c. Now I don't know if I lost any files. Do already deleted files came back to the original folder when I interrupt the process like that?

share|improve this question
Fedora 13 is practically ancient by now (it reached end of life in 2011 and has not been supported with updates since then). Fedora 19 is current. – Michael Kjörling Jul 15 '13 at 12:28
not my fault, i'm accessing a remote server that runs this distro, and i'm not the guy who has all permissions. – rafa Jul 15 '13 at 13:25
up vote 3 down vote accepted

Already deleted files are not restored when you abort the process which is deleting files.

Now, if you were actually running rm -i or similar, which makes rm prompt before deleting, then only the files you told rm that you wanted to delete are actually deleted. But those are still gone. Not using a switch like -i simply avoids the prompt.

Depending on which file system you are using there may be undelete tools available, but if you are missing anything which you need, the easiest solution is probably to restore from backup. Since this isn't your system and you don't have root access, undeletes become even harder to perform; you'd need access to the raw physical device and you'd have to prevent any further disk writes to the partition(s) in question to minimize the risk that the data blocks get overwritten, and both of those are difficult without root access.

Some specialized file systems allow true transactional-style operations or have the ability to go back to a given past point in time (NILFS being one example) but those are practically unheard of except in specialty applications, which I doubt a 2-3 years old Fedora install will be.

share|improve this answer
I was running rm -r, then I might lost something, which means I need to get from backup... Thank you – rafa Jul 15 '13 at 13:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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