Solved

Setting up Timezone, date and time

Posted on 2000-04-12
5
328 Views
Last Modified: 2013-12-16
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
Comment
Question by:tostos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 2710546
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
 

Author Comment

by:tostos
ID: 2710558
Thanks jlevie

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

Thanks

0
 
LVL 40

Expert Comment

by:jlevie
ID: 2711658
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
 

Author Comment

by:tostos
ID: 2714379
jlevie
Thanks again for your additional comments. (I always wanted to know how to do that)

Cheers tostos
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2714763
Yeah, find can do lots of neat things, you should study the man page and play around with it a bit...
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question