Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

In Centos 5.x there is the text mode interface of system-config-date to set the time zone. Although that utility still exists in Centos 6 the text mode is gone. Is there anything similar in Centos 6?

share|improve this question
add comment

1 Answer

/etc/localtime controls the system timezone. It's just a symlink to one of the timezone files in /usr/share/zoneinfo.

ln -sf /usr/share/zoneinfo/your/zone /etc/localtime
share|improve this answer
    
That's what i had already done. It is not what I asked for. –  Clodoaldo Aug 9 '11 at 12:35
    
I think this is the right answer, but @Clodoaldo your question may actually how to make the change ACTIVE without rebooting. Changing the file only affects future environments, the stuff that is already running already thinks it knows what time it is. See this question for related issues: How to make an Ubuntu time zone change stick? –  Caleb Aug 9 '11 at 20:04
    
@Caleg "I think this is the right answer" It is not. That answer is all around the net and it is an answer for another question. "your question may actually how" No, my question is exactly what was stated. If you think the information you posted is important, and I think it is, create your own question and answer it yourself. You will earn points for that. –  Clodoaldo Aug 10 '11 at 10:53
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.