Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Where can I find an explanation of directory names used in Ubuntu (the whole tree)?

  • Why etc?
  • When do I put my files in /usr/local when in /home/usr when in /usr/local/bin and when in /var/lib/ or /bin?

Is there any rule, that tells when I have program x, it for sure must be placed here, and it's config files are here and data there.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

The questions you're asking are answered in the hier(7) man page. See http://manpages.ubuntu.com/manpages/lucid/en/man7/hier.7.html for an online version.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.