Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.