How to get deleted files in Linux

Discussion in 'Linux' started by sharmila, Oct 10, 2006.

  1. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
    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.
     
  2. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
    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.
     
  3. velumurugesan

    velumurugesan New Member

    Joined:
    Nov 9, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    please explain me
    i need to get back my all deleted files
     
  4. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
    Hi velumurugesan,
    I don't know how to get already deleted files.

    Regards,
    sharmila.
     
  5. velumurugesan

    velumurugesan New Member

    Joined:
    Nov 9, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    ok sharmila,
    thanks for your reply
    are you interested in this Topic(Linux administration) further
     
  6. Svaths

    Svaths New Member

    Joined:
    Mar 1, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
  7. fsakalos

    fsakalos New Member

    Joined:
    May 14, 2007
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Slovakia
    If you once delete it, you have no chance to get it back. You would need to make backups of that files.
     
  8. jhonstack

    jhonstack New Member

    Joined:
    May 15, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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/
     
  9. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
    Hi Johnstack,
    Thanks for the responce. I didn't tried but it is very much informative..

    Regards,
    sharmila
     
  10. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
    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
     
  11. vinaykumar2004

    vinaykumar2004 New Member

    Joined:
    Oct 27, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Thanx Sharmila, Ur reply was really helpful:)
     
  12. devil_aj

    devil_aj New Member

    Joined:
    Dec 9, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    how to recover a file without create a recycle bin or without modifying rm command
     
  13. persysweb

    persysweb Member

    Joined:
    Aug 1, 2017
    Messages:
    98
    Likes Received:
    18
    Trophy Points:
    8
    Location:
    India
    Home Page:
    httpS://persys.in/
    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.
     
  14. Gabriel9999

    Gabriel9999 New Member

    Joined:
    Mar 12, 2019
    Messages:
    23
    Likes Received:
    1
    Trophy Points:
    3
    linux.com/print.pl?sid=06/10/30/1652211
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice