LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-22-2004, 12:55 AM   #1
plainwlkr8
LQ Newbie
 
Registered: Feb 2004
Location: niagara ny
Distribution: redhat 9
Posts: 10

Rep: Reputation: 0
rm -rf /home


so while trying to delete something in my home directory, i acutally destroyed my personal folder /home/plainwlkr8 ... quite dumb, now i'll remember to be IN the folder when i do that in root. so anyways. i learned the hard way. my next obious question is... can i recover it in anyway? im running mandrake 10. im guessing hardware isnt an issue here just my os. any reading would be greatly appreciated. im googling as i write this. many thanks
 
Old 10-22-2004, 01:23 AM   #2
cyberliche
Member
 
Registered: Aug 2004
Location: Atlanta
Distribution: Slackware 10
Posts: 85

Rep: Reputation: 15
Most likely there isn't a way to recover. There are a number of professional recovery tools available, but most are pretty hard to use for the amature. I've used The Coroner's Toolkit with some success in the past. You may also wish to check out The Sleuth Kit .

I wouldn't get your hopes up though. Recovering files is can be difficult undertaking, even for professionals.
 
Old 10-22-2004, 01:30 AM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Make regular backups!! Believe me, most people have learned the hard way.

You might search on http://freshmeat.net
 
Old 10-22-2004, 06:11 AM   #4
DrAxeman
Member
 
Registered: Jun 2004
Location: State of Confusion
Distribution: My other OS is your Solaris box.
Posts: 84

Rep: Reputation: 15
Remember, DO NOT USE THAT SYSTEM TO LOOK FOR, OR COMPILE TOOLS! When you delete something what you really are doing is marking that part of the disk as "over-writtable" When you start writting to that partition, you run the chance of the OS writting over that part of the harddrive you want to recover.

When something like that happens the best thing to do is Immediately pull that HD out of use, and leave it unused until you have the tools ready to attempt to recover the data.

Good Luck.
 
Old 10-22-2004, 08:15 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
/me thinks to himself, another good reason to not be logged in as root...
 
Old 10-22-2004, 09:30 AM   #6
Squall
Member
 
Registered: Jan 2004
Location: The land of the free and the home of the brave
Distribution: Slack 10
Posts: 239

Rep: Reputation: 30
If you were trying to delete something in your home directory, why were you even in root?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
win xp home edition and samba home shares scheidel21 Linux - Software 8 10-09-2008 01:47 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
want to ssh/ftp to home machine (Slack) from office through home router fincher69 Linux - Networking 2 09-21-2005 11:55 PM
/home seperate partition from previous install, make it new /home in new install mipia Slackware 5 06-21-2004 11:57 PM
mount / , /home , /home/usr on different partitions alekoos Slackware 14 05-03-2004 12:39 PM


All times are GMT -5. The time now is 08:34 PM.

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