Find the answer to your Linux question:
Results 1 to 4 of 4
One day I deleted a file by mistake. Worst more I was in root login and used following command rm -rf INSTANT so the file got deleted, and it took ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Location
    India, At present in NTT, Japan as Partner Employee
    Posts
    15

    how to recover deleted file by mistake


    One day I deleted a file by mistake. Worst more I was in root login and used following command

    rm -rf INSTANT

    so the file got deleted, and it took 2 hours to build it again.

    Is there ary method to get back the deleted file in LIUNX,

    Any idea

  2. #2
    Just Joined!
    Join Date
    Mar 2005
    Posts
    2

    Deleted File

    ANAND,

    Your file is gone man. There is no way to recover it. Some people replace rm with a 'kit' which will move the file(s) into a temporary location

    eg (off the top of my head)

    mv /bin/rm /bin/rm.real

    vi /bin/rm
    #!/bin/sh
    if [ ! -d /tmp/deleted_files ]; then
    mkdir /tmp/deleted_files
    fi

    mv $* /tmp/deleted_files

  3. #3
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    Stellar Phoenix provide hardrive/data recovery programs, you will be able to download their demos and at least test for the presence of the files. I don't know if their linux client runs in linux or under Win32 by mounting these drives using their own drivers - but one thing is for sure, they apparently don't have ReiserFS support yet.

    www.stellarinfo.com

  4. #4
    Just Joined!
    Join Date
    Apr 2005
    Location
    India, At present in NTT, Japan as Partner Employee
    Posts
    15
    OK..
    I understand that, that is an indirect process to do that,

    Anyway thanks for the idea.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •