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.
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.
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
If you once delete it, you have no chance to get it back. You would need to make backups of that files.
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/
Hi Johnstack, Thanks for the responce. I didn't tried but it is very much informative.. Regards, sharmila
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
You can recover those files from available backups. If your server has backup cycle running on it then you can check the available backups and can retrieve those files from backup.