Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

If the system time is changed on Linux, what files get edited? I know the timezone is kept in etc/timezone but is there anything if the timezone is not changed, but the time is?

share|improve this question

The time is not kept in a file, because obviously it would not change. It is kept by the system's real time clock, which counts time even when the system is off via a small battery.

share|improve this answer
I didnt ask if time gets stored in a file though? I asked what files get edited if the system time changes? If I change the system time what on my linux box is going to record the fact I changed the time? – Sally Jun 3 '12 at 2:03
@Sally, nothing... the real time clock just gets changed to a new time. – psusi Jun 3 '12 at 2:09

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.