I am in my user's home directory, I do:
Then it shows me large number of hidden files and directories in my user's directory. Which of them I am allowed to remove?
Which ones are necessary on my system?
How can I realize it?
closed as unclear what you're asking by jasonwryan, slm♦, manatwork, Anthon, Zelda Mar 15 at 13:55
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.
|show 4 more comments|
As @mikeserv has already said, you are generally allowed to remove any files you want in your home directory. If you have sufficient privileges you can delete files in another user's home directory, but as we will see this may not be a very nice thing to in someone else's home directory. None of these files are necessary for your system to function, you at least have to become root to break the system.
However, the majority of these files contain settings or other data that the program uses when run as that user. Removing these may significantly change the way the program looks/feels for that user and may even cause data loss. Here are some of the things that I have in the hidden files/directories under home:
Many programs will look for one or more of these files when it runs and it will create what it doesn't find. If it is a settings file, the newly created one will just have default settings. Any change made to the program's settings through its own interface will likely be stored in one of these. If cached data is removed, this will generally slow things down somewhere along the line as re-creating will take time (generally the reason for storing it in the first place).
Often it is difficult to find out what files belong to what program. The files will also not be removed when the program is uninstalled, so it is easy to collect ones that you don't need. If you want to remove some you could try to identify one that you don't need (eg if you remove a browser, the locating and removing its cache files could free up a lot of space). Either that or just identify what you want to keep and remove the rest - sometimes a clear out can be a good idea.
What may cause unexpected results is removing files like
If it's your $HOME directory, you're allowed to do whatever you want with it. In fact, that is the basic premise underlying all Unix filesystem permissions: ownership.
None of the files in your $HOME directory are necessary to the system. This is why they're in your $HOME directory and not elsewhere. That is the only clue you need.
The default file permissions
None, and all. Most of these files are created upon installation or when you run a program. Even if you delete them, they will come back.
Depending your use, but seriously, most of them use <1kB so it shouldn't bother you that they are there. Just don't type
|show 1 more comment|