LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-10-2002, 02:27 AM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
Red face Lost a file !!


Hello Friends,

I lost my dir and one file in redhat 8.

i del this file and dir from tty1.

can i recover it back.

how can i recover????

plz help me....

Hitesh
 
Old 12-10-2002, 03:03 AM   #2
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
what directory and what file did you delete from what part?
 
Old 12-10-2002, 08:49 AM   #3
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Hi,

it was in /home dir call 'hitesh' and file name is 'f_dis '
both are in /home dir.

and by mistakenly i give this command on treminal.

root: rm -r hitesh
root: rm f_dis

now i want to recover both.

how can i recover it???

Hitesh
 
Old 12-10-2002, 10:53 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
If you're on a system that writes a lot, you're almost always out of luck. If you OTOH powered down the system directly after you discovered you deleted the stuff, try to boot it up in single mode (partitions mounted readonly). If you've got "mc" (Midnight commander) try the undelete option. Else try recover.
If that doesn't work, there's another option called "TCT" (The Coroners Toolkit), but that requires experience with those tools, not recommended unless you've got much time and patience.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Lost lib file, please JuJuJane Linux - Software 2 10-10-2005 07:11 PM
file in /tmp is lost ust Linux - General 3 03-02-2005 08:52 PM
lost my file !!! hitesh_linux Linux - General 2 03-02-2003 12:21 AM
lost download file jhh25 Linux - Software 4 11-16-2002 06:06 AM
File lost all pictures u4113072 Linux - Software 1 10-30-2002 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:13 AM.

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