[Novices] help for longtime (but novice) user who finally managed to misuse rm...?

Joseph McLaughlin jwm8351 at yahoo.com
Sun Jul 10 22:21:37 EDT 2005


Bummer - 
I just took a UNIX class at work and they suggested
doing a LS every time you log in - or when needed -
save to a new file name each time and then you have a
record of what you have on the machine. You can also
search the the file to find things quicker!

Sorry I can't help now!

Joe

--- Steve Petersen <steve.petersen at charter.net> wrote:

> Hey folks,
> 
> I just typed '\rm -rf *' on my home directory,
> thinking I was in a 
> different directory, and it was a few seconds before
> I noticed my 
> mistake and hit ^C.
> 
> My "key" files are triply backed up all the time,
> and other less 
> important stuff is backed up monthly (or so), but I
> also have a /lot/ of 
> files in my home directory I don't back up at
> all--my mp3's of all my 
> CD's, for example.
> 
> I don't expect there's a whole lot anyone can do for
> me, but if you have 
> any helpful advice I could could use it.  Perhaps
> most importantly:  is 
> there any clever way to figure out exactly what
> managed to get erased? 
> I'm using RH 8.0--old I know, but it /is/ ext3.  I
> don't know much about 
> journaling, but I'm trying to learn fast!  I tried
> 'logdump /dev/hdb3' 
> as root and got this error:
> 
> <logdump typeout>
> Incorrectly built binary which accesses errno,
> h_errno or _res directly. 
> Needs to be fixed.
> logdump version 1.0.17, 02-Apr-2002
> Device Name: /dev/hdb3
> JFS_LOGDUMP:couldn't read log superblock:failure in
> (null)
> </logdump typeout>
> 
> A file gets created that just says basically the
> same thing.
> 
> Thanks for any help,
> Steve
> _______________________________________________
> Novices mailing list
> Novices at kalamazoolinux.org
>
http://www.kalamazoolinux.org/mailman/listinfo/novices
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Novices mailing list