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

Where are the following configuration files located (e.g., Redhat)?

  1. network settings (static/DHCP/DNS)
  2. timezone
  3. proxy for network
  4. default language
share|improve this question

migrated from stackoverflow.com Jul 5 '11 at 14:52

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

In title of your question there is Linux configuration settings in content you mention about Red Hat, so the question is - you want to know how it is done in various distributions or specifically in Red Hat? Many of these setting on different distributions will be placed in different places. If you mean only in Red Hat: Red Hat Linux (9) that is 8 years old or Red Hat Enterprise Linux (RHEL)? – pbm Jul 5 '11 at 15:23
Should we update the title of this to Can someone do my homework for me? – Kyle Smith Jul 5 '11 at 16:46
@Kyle: What's the evidence for homework here? – Caleb Jul 5 '11 at 17:17
@Terry: Please don't ask 4 questions in one. Either ask general questions like "Where are config files stored" or specific ones such as "where are proxy settings in RedHat 6". Also, always explain in your questions what attempts yo have made to answer the question yourself and how they turned out. – Caleb Jul 5 '11 at 17:18
@Caleb: A specific list of files to look for with no background on why someone would want to know just smells awfully "homeworkey" to me. I suppose there's a chance he just has a new Linux box and no idea how to configure it. – Kyle Smith Jul 5 '11 at 17:38
up vote 2 down vote accepted

Check out the /etc directory. All the config files for your entire system should be there with quite logical names like 'timezone'. Some of the subdirectories are also important such as /etc/sysconfig/ so be sure to browse that. The network stuff is also usually buried in there in a folder called 'interfaces' with one config file per interface.

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.