LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   zen & art of rm -rf = (whoops) / hidden home (https://www.linuxquestions.org/questions/linux-newbie-8/zen-and-art-of-rm-rf-%3D-whoops-hidden-home-70182/)

virgin 07-04-2003 09:01 PM

zen & art of rm -rf = (whoops) / hidden home
 
hi all,
(rh9 , 2.4.20-18.9 , only a few weeks installed )
a couple days ago I did something stupid.
I forcfully removed all the .*
with:
$rm -rf .*
in /home/dumbass directory. (only one user if that matters)
yes I should know better, it had something to do with nethack, and I was feeling bold and impatient
...what is done is done,
but what did I do?

wasn't root, but I seem to have really done a number on the desktop... after a few minutes of panic, and a restart, the problems seem to be mostly cosmetic-- but a few things are acting a little weird...

so here it is:

1. what kind of stuff (important or not) was there before I zapped it? and how do I, or do I need to, get it back?

thanks, & happy I.D. to us Americans.

Capt_Caveman 07-04-2003 10:45 PM

You'll probably have some problems with the various user-specific config files (.bashrc, .Xauthority, etc). You might just want to wack that user (look at the man page for options to recursively remove the users directory tree) and then re-add it with the same name. That way linux will rebuild all the default user profiles for you.

----
PS: how'd you like dem Zambelli's dis yer.

virgin 07-05-2003 11:41 AM

o.k.! sounds real good. I will do that.
thanks.

-----
I heard them,
didn't watch the f - works daantan,

I did happen to see some of a show on the zambellis on PBS,
they sure have been fireworking a long time...


All times are GMT -5. The time now is 10:56 AM.