• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Setting up Timezone, date and time

I just installed Redhat 6.1 on a Dell server. During the installation you can setup the timezone etc and this is OK.The problem is that I now want to change the time zone from EST to WST. I tried using date&time in LinuxConf, but when I enter 'date', I still get "Thu Apr 13 09:36:12 EST 2000

How can I set it to WST or any other zone permanently ?

Thanks
0
tostos
Asked:
tostos
  • 3
  • 2
1 Solution
 
jlevieCommented:
The command you want is probabaly "timeconfig WST", or you can simply execute timeconfig and it'll offer a menu of timezones to pick from. There are more things you can do with timeconfig that are documented in its manpage.
0
 
tostosAuthor Commented:
Thanks jlevie

I didn't know the name of the program and you were spot-on. Timeconfig fixed it

Thanks

0
 
jlevieCommented:
For what it's worth... I didn't know what it was either until I saw this question. How I solved it might be useful to you later.

Not knowing what the command (or the files) was I tried a couple of likely candidates (man date, man timezone) and looking looking in /etc. When I didn't find anything, I searched all of the manpages for timezone with:

find /usr/man -type f -exec grep -il timezone {} \;

and looked at what files names contained the keyword. Looking through the list I could eliminate most from consideration because they obviously wouldn't be used to set the time. Timeconfig(8) sorta stood out and a quick check of the man page revealed the truth.

Cheers...
0
 
tostosAuthor Commented:
jlevie
Thanks again for your additional comments. (I always wanted to know how to do that)

Cheers tostos
0
 
jlevieCommented:
Yeah, find can do lots of neat things, you should study the man page and play around with it a bit...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now