Hi,
      If u r using the ext3 file system then there will be tool ext3grep.
Try out that.

On Tue, Jul 27, 2010 at 4:17 PM, sasi <[email protected]> wrote:

>
>
> On Tue, Jul 27, 2010 at 2:50 PM, Murali Babu <[email protected]>wrote:
>
>> Hello linuxers,
>>
>> Yesterday I had working in pc which has a centos 5.4 os, by mistake i
>> deleted
>> some files which are all very very important.
>> Please guide me recover my deleted files in centos
>>
>> --
>> Regards
>>
>> D. Murali Babu
>> _______________________________________________
>> ILUGC Mailing List:
>> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>>
>
> Hi,
>
>         linux is a multi user, when you deleted a file and if you want to 
> recover it, reboot the machine to single
>
>         user mode, and then do the following ( if you have not rebooted the 
> machine to single user mode,
>       while the other user writing some file, it may be written to that place 
> ).
>               grep -b 'search-text' /dev/partition > file.txt
>                               OR
>               grep -a -B[size before] -A[size after] 'text' 
> /dev/[your_partition] > file.txt
>       - This method is ONLY useful if deleted file is text file.
>         If you are using ext2 file system, try out recover command..
>       - this we can use only when we are using ext2 file system,
>
>
> --
>  Best Regards,
>  R.Sasi, D.C.E., M.C.A.
>  Associate System Engineer,
>  Chennai.
>
>



-- 
 Best Regards,
 R.Sasi, D.C.E., M.C.A.
 Associate System Engineer,
 Chennai.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to