Questions tagged [etc]

/etc is the directory that holds the essential system and software configuration. Use this tag for questions on the organization of /etc or the syntax of configuration files within /etc. Don't use this tag for questions on the configuration of particular software.

The configuration of the system and most software is kept in various files under /etc or in subdirectories. These files are supposed to be static; runtime configuration is kept under /var/run or /var/lib. An exception to this is the file /etc/mtab. Moreover, the configuration under /etc is often system specific and cannot be shared.

/etc once used to contain some system binaries, but they were moved long ago to /sbin. /etc/rmt of the GNU tar package is a rare remnant. In some sense the same holds for the init scripts under /etc/init.d, although several packages install or expect scripts under specific subdirectories of /etc.

Software packages installed under /usr/local or /opt sometimes use /usr/local/etc resp. /opt/etc to store their configuration.

See also

176 questions
1
vote
0 answers

What is the meaning of /etc (as acronym)

Possible Duplicate: What does etc stand for? What does it mean? All I can think is etcetera. By my teacher told me that there is a more appropriate meaning.
Uko
  • 111
0
votes
2 answers

How do I change a section of a host name permanently on multiple host names as a root user?

I am doing a project for uni and an unsure how to proceed i have been given the task of changing hosts name from one thing to another on a unix box I am logged in to the box as root the host name is garnet.bct.bolton.ac.uk garnet I need to change…
user93524