Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 mean, when I type location it gets GMT +/- fixes, were does that information come from?

share|improve this question

Linux (and UNIX in general) systems usually keep the hardware clock in UTC.

Then, there is a system-wide time zone setting usually implemented as /etc/localtime, copied from or linked to some file in /usr/share/zoneinfo, which provides information on how to convert the UTC time value to a local date and time. This provides a default for all users' processes. Some distributions make /etc/localtime a symbolic link, and some (presumably for resilience in case /usr/share is unavailable) make an outright copy.

Then, a (user or system) process can set the TZ environment variable to override this default. Such a setting will be inherited according to the normal environment-inheritance rules, which can be exploited to set the default time zone for a specific user separately from the system default. For multi-user systems with users spread out across time zones, this is a very useful property since each user will see the time he/she expects.

So, there isn't really a single place in which to look for the information you want.

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.