Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-17-2012, 02:39 PM   #1
LQ Newbie
Registered: Sep 2012
Posts: 9

Rep: Reputation: Disabled
Cool How to restore deleted files in linux

Hi All,
i have used rm -rf and the one files removed. so plz tell restore command ...

Best Regards,
Old 09-17-2012, 02:44 PM   #2
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
There is no way you can retrieve files from your linux computer after deleting it from command prompt. On other side, if you delete from GNOME, it automatically goes to trash folder, but at this point you cannot retrieve your files.
Old 09-17-2012, 02:45 PM   #3
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Originally Posted by gobinath1989 View Post
Hi All,
i have used rm -rf and the one files removed. so plz tell restore command ...

Best Regards,
See here.
Also, PLEASE don't use "plz"- use "please". Thank you.
Old 09-17-2012, 02:45 PM   #4
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,106

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
you can try something like photorec.
Old 09-18-2012, 01:08 PM   #5
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
Look after the link,these may help you to recover the deleted file in a filesystem

#you can also check whether files is holding on any file descriptor by using

#lsof -Pwln | grep "deleted"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is there any way 2 restore the deleted files in linux anishkumarv Linux - Newbie 6 03-26-2011 08:20 AM
How to restore deleted files in Gnome Commander? Doinkxs Linux - Software 2 03-26-2010 11:53 AM
Restore deleted files Winanjaya Linux - Newbie 5 01-09-2007 01:23 AM
how to restore deleted files? ice99 Linux - Security 13 04-13-2006 03:10 AM
how to restore deleted files ? ilyes Linux - General 3 08-01-2003 07:13 AM

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration