Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Linux (http://www.go4expert.com/forums/linux-forum/)
-   -   How to get deleted files in Linux (http://www.go4expert.com/forums/deleted-files-linux-t1585/)

sharmila 10Oct2006 18:01

How to get deleted files in Linux
 
Hi all,
In Linux,if we delete a file using 'rm' is there any way to get it back without using any 3rd party tools?

Thanks in advance,
sharmila.

sharmila 11Oct2006 10:45

Re: How to get deleted files in Linux
 
I got the answer..
I used function..
create a dir Trash and move all the deleted files into it.
del()
{
mv $1 ~/Trash/
}

Regards,
sharmila.

velumurugesan 9Nov2006 10:18

Re: How to get deleted files in Linux
 
please explain me
i need to get back my all deleted files

sharmila 10Nov2006 18:38

Re: How to get deleted files in Linux
 
Hi velumurugesan,
I don't know how to get already deleted files.

Regards,
sharmila.

velumurugesan 11Nov2006 12:12

Re: How to get deleted files in Linux
 
ok sharmila,
thanks for your reply
are you interested in this Topic(Linux administration) further

Svaths 1Mar2007 14:39

Re: How to get deleted files in Linux
 
Hi,

If you have atleast 1 other process using an already deleted file, You can retrieve it using the /proc filesystem and lsof

Plz go through this detailed exp:
http://www.linux.com/print.pl?sid=06/10/30/1652211



Thanks & Regards,
Svaths

fsakalos 15May2007 23:30

Re: How to get deleted files in Linux
 
If you once delete it, you have no chance to get it back. You would need to make backups of that files.

jhonstack 15May2008 10:24

Re: How to get deleted files in Linux
 
Quote:

Originally Posted by sharmila
Hi all,
In Linux,if we delete a file using 'rm' is there any way to get it back without using any 3rd party tools?

Thanks in advance,
sharmila.

Hi sharmila

Yes you can recover it. There is a method to recover it.May be this method works for you can check it out this link
http://linux-recovery.blogspot.com/

sharmila 22May2008 10:56

Re: How to get deleted files in Linux
 
Hi Johnstack,
Thanks for the responce. I didn't tried but it is very much informative..

Regards,
sharmila

sharmila 22May2008 11:09

Re: How to get deleted files in Linux
 
Quote:

Originally Posted by Svaths
Hi,

If you have atleast 1 other process using an already deleted file, You can retrieve it using the /proc filesystem and lsof

Plz go through this detailed exp:
http://www.linux.com/print.pl?sid=06/10/30/1652211



Thanks & Regards,
Svaths

Hi Svaths,
The link which was mentioned here is not opening.. Will try to get the info using google.. Thanks for the reply.

Regards,
Sharmila


All times are GMT +5.5. The time now is 09:09.