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 07-04-2003, 10:01 PM   #1
virgin
Member
 
Registered: Jun 2003
Location: Pgh, PA
Distribution: debian
Posts: 50

Rep: Reputation: 15
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.
 
Old 07-04-2003, 11:45 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
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.
 
Old 07-05-2003, 12:41 PM   #3
virgin
Member
 
Registered: Jun 2003
Location: Pgh, PA
Distribution: debian
Posts: 50

Original Poster
Rep: Reputation: 15
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...
 
  


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
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 09:23 PM
Hundreds of hidden files in home directory doobers Linux - Newbie 3 02-14-2005 03:57 PM
Suse Install&ibm hidden partition recovery isipe Linux - Laptop and Netbook 1 11-08-2004 11:09 PM
Cleaning Home hidden files melinda_sayang Linux - General 4 02-23-2004 03:02 AM
traditional art vs modern art acid_kewpie General 14 10-27-2003 02:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 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
Open Source Consulting | Domain Registration