Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've always wanted to know more about how people (power users and lambda users) were organizing there $HOME. The trend is currently is using xdg-users-dirs which define a set of most used folders like : Music/, Video/, Documents/, …

As a lot of geeks or developers or sysadmin, I do tweak a lot my shells and I do wrote a lot of scripts. The thing is :

  • Where do you usually put your scripts ?
  • Where do you usually put the lib that is common for a lot of your scripts and ?
  • What about docs or man ?

For example, for a long time, I did put everything in a $HOME/.local folder that was more or less like /usr/local (You could find bin/, lib/, share/, docs/, logs/). I'm thinking to not bother with the .local/ and put everything on home but I was wondering how people deal with that.

share|improve this question

closed as not constructive by Michael Mrozek Mar 23 '12 at 22:42

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

I do exactly that and it works fine. I have bin etc local share src tmp var in my home dir and link ~/etc/foo to ~/.foo. This is great for version control and compiling to home dir on systems where I can't anywhere else. I mostly just have to edit PREFIX in config.mk to say $(HOME) or $(HOME)/local and I'm ready to go. – peth Mar 24 '12 at 18:24

Browse other questions tagged or ask your own question.