LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   rm -rf * , want to undo this (https://www.linuxquestions.org/questions/linux-general-1/rm-rf-%2A-want-to-undo-this-547747/)

postiwala 04-20-2007 09:26 PM

rm -rf * , want to undo this
 
I have deleted some important files in linux.
i m working on fedora core 4.
I issued "rm -rf *"

now want to retrieve them.
help me..

dxqcanada 04-20-2007 09:32 PM

Not an easy thing to do.

I would suggest you stop using your workstation immediately.

Jump onto a different workstation and google "linux undelete" ... you will find many articles on this issue.

Matir 04-21-2007 11:41 AM

The easiest option is to restore from a backup. However, if you did not have a backup, or at least not a current one, any undelete would be based on the filesystem: ext2? ext3? reiser?

cormack 04-21-2007 04:03 PM

How did you manage to do rm -rf *? my friend did that to me once as root. :'(

rickh 04-21-2007 04:16 PM

Quote:

rm -rf ... my friend did that to me once as root.
Now I gotta friend who spends his life
Stabbing my picture with a bowie-knife
Dreams of strangling me with a scarf
When my name comes up he pretends to barf.
I've got a million friends!

- Bob Dylan.

cormack 04-21-2007 04:39 PM

Quote:

Originally Posted by rickh
Now I gotta friend who spends his life
Stabbing my picture with a bowie-knife
Dreams of strangling me with a scarf
When my name comes up he pretends to barf.
I've got a million friends!

- Bob Dylan.

HaHa like it.

justsimran 04-21-2007 05:45 PM

LOL same happened to me;) ,, i stuffed up my trainers workstation by issuing a simple command which just toook a second to run,,,

root: rm -rf *

ooooops!!

dnt wanna do this mistake again,,,:tisk:

sim


All times are GMT -5. The time now is 09:26 AM.