Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-23-2004, 12:35 AM   #1
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
Cleaning Home hidden files

I got a lot of hidden files and hidden directories in home directory. It was normal because I like to try softwares and most softwares put your configuration in your home directory and they are hidden. For example, if you use xchat, then it will automatically create .xchat2 in your home directory. Imagine you use hundred of softwares, and most of them create their configuration in your home directory, you will got a lot of junk files. So.............

rm -rf ~/.*

Is it safe to do so? Will it make all my configuration to become default? I don't mind if my all configuration become default. I just backup the most important programs configuration for me like .mozilla, .gnome, .bashrc.

Thank you.
Old 02-23-2004, 12:53 AM   #2
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
hmm.... interesting.... i wouldn't do that. i'd be more precise as i don't think you're wanting to be deleting some de/wm specific files. i mean, for instance you're .kde folder. even if deleting that didn't hurt anything, do you really want to go about redoing something like filetype/application associations? but, i dunno if it will do stuff like make it impossible for you to access your home directory or login or whatever. again, i, myself, would be more specific in what i delete.

Last edited by megaspaz; 02-23-2004 at 01:44 AM.
Old 02-23-2004, 01:00 AM   #3
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
you could also simply create a new, fresh account, and then move all your documents (and some select configs) over to it...

Old 02-23-2004, 01:12 AM   #4
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Also, Don't try to move your /.home directory either!!
As this will cause some breaking of symlinks! and KDE or your progs might not work at all...........
Old 02-23-2004, 02:02 AM   #5
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Original Poster
Rep: Reputation: 31
Thank's guys!!!!!

Tommorow I will install Slackware. After that I m not gonna try unnecessary softwares or programs. If I use any software, I will see what config it will make. So if I m not gonna use this software regularly, I will delete the configuration. After tried many softwares, I think I only need to use couples of softwares. So my task will become much easier.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
cleaning up old kernel files on fedora 3 Daniel49 Linux - Software 6 08-19-2005 05:08 AM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 08:23 PM
Hundreds of hidden files in home directory doobers Linux - Newbie 3 02-14-2005 02:57 PM
Cleaning Mozilla files noxious Linux - Software 1 05-15-2004 03:56 PM
zen & art of rm -rf = (whoops) / hidden home virgin Linux - Newbie 2 07-05-2003 11:41 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration