Home / Linux / Keep your home folder “clean”… : linux

Keep your home folder “clean”… : linux

Keep your home folder “clean”… : linux

I’m wondering what number of r/linux subscribers did a double take as a result of they’re additionally r/lifeprotips subscribers.

Anyway, I used to be simply listening to a podcast the place the hosts went on and on about learn how to maintain your home folder clear. One of the hosts mentioned that they really reinstall their OS infrequently for this function…wait, what? Why?

My answer has all the time been fairly easy for this: simply make a brand new person. New person = new home folder. Move massive recordsdata that you wish to maintain so it does not take up a bunch of disk house. Dot recordsdata are straightforward sufficient to maneuver from one person to a different. Take your time selecting and selecting which recordsdata you wish to maintain. Personally, after I have not touched my “old” person after a pair months or so, I simply save the outdated person’s home folder to my NAS (simply in case) after which ‘userdel -r olduser’.

Voilà, similar to new…as a result of it’s new. I’ve additionally discovered it attention-grabbing to diff between my new and outdated customers’ home folders infrequently to see how my dot recordsdata have modified.

Hopefully this retains a few of you from feeling like you should wipe out your total arduous drive simply to scrub up your home folder.

EDIT: Not a lot love in r/linux.

Before you submit some snarky comment about why this is not wanted, I problem you to depend the dot recordsdata in your home folder:

$ discover ~/.* -type f | wc -l   

and even simply in your .config folder:

$ discover ~/.config/ -type f | wc -l

Unless you are operating a really naked bones set up, have nearly no software program put in, and by no means experiment with new software program, then you definately seemingly have lots of or hundreds of dot recordsdata. When you uninstall software program, the dot recordsdata aren’t eliminated. Dot recordsdata can grow to be deprecated as tasks evolve. Some of you do not care concerning the muddle and that is cool. If you do care, then experiment with creating a brand new person. Peace out.

About Agent

Check Also

SpaceX Successfully Launches 60 More Starlink Satellites as it Continues Towards 2020 Service Debut

SpaceX Successfully Launches 60 More Starlink Satellites as it Continues Towards 2020 Service Debut SpaceX …

Leave a Reply

Your email address will not be published. Required fields are marked *