Super User is a question and answer site for computer enthusiasts and power users. 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

Please explain the usage of /etc directory and UNIX? Can we have comman setting defined for all users in this directory?

share|improve this question

migrated from Oct 30 '09 at 23:38

This question came from our site for professional and enthusiast programmers.

This question is not programming related. I.e. , you aren't asking how to progrmatically read or manipulate configurations in /etc. This question would be better answered on – Tim Post Oct 30 '09 at 7:05

Here's the "official" answer:

It's similar to the HKEY_LOCAL_MACHINE hive of the Windows registry: It contains system-wide settings for software (as opposed to per-user settings).

share|improve this answer

Please find the links given below:

File System

Article on /etc

share|improve this answer

Generally only root/wheel write access into /etc/ Common settings application wide, possible, but I still prefer applications to store their configurations in their own filesystem structure. We needn't muddy the filesystem by going about shoving non-system application configs in there, let us not repeat the registry ills.

share|improve this answer

You must log in to answer this question.