Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
is it possible to recover an erased file in Linux ?
Can you please tell me how Linux O.S. removes a file. Does it release the inode when the reference count becomes zero. Are there any softwares available for Linux which help recover erased files in Linux ?
Thanks,
jose.
Quote:
Ask and you will receive, seek and you will find, knock and it shall be opened unto you, ...
How did you erase it? Did you use the 'rm' command or are you in X and chose delete? In X it sometimes (if you are lucky) will put it in the trashbin. Check that place first.
yes but I don't think you can recover files if deleted with rm -f
--just yesterday I did brilant thing (rm -f /var/spool/mail/* instead of rm -f /var/spool/mqueue/* ) trying to be fast.
The more you've used the system in the time between deletion and recovery the lower the chances are you're gonna get something back. You could try recover (mc is easier IMO). There's also a link to the undelete-HOWTO.
I didn't know there is an option to undelete in mc, that's very cool. But I don't think it works on ext3.
and I tried to delete some files but didn't really got anything back. I need to do some reading first I guess
I know that using rm deletes the file, but "deleting" the file in most GUI file managers actually just moves it to a "trash" folder (I don't know where it is, though).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.