[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Linux RedHat TimeZone

Posted on 2007-03-28
5
Medium Priority
?
1,563 Views
Last Modified: 2013-12-16
I changed the timezone on my RedHat linux server form AST to GMT
now i want to change it back to AST
How i can do that?
0
Comment
Question by:mukhtar2t
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:ibu1
ID: 18807759
# tzselect
0
 
LVL 4

Author Comment

by:mukhtar2t
ID: 18807880
I did the folowing command
ln -sf /usr/share/zoneinfo/Etc/GMT /etc/localtime
is there  a reverse one
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 18808033
if you have AST in /usr/share/zoneinfo/Etc/  do the same if not... explain in which country are you
0
 
LVL 4

Author Comment

by:mukhtar2t
ID: 18808226
The date was like this:
Wed Mar 28 16:02:04 AST 2007
before the execution of the last command
 
There is no AST in the directory but i want to set it to GMT + 03  Asia/Qatar
I can do it by the Gnome GUI but i want to know how i can do that by the shell
0
 
LVL 14

Accepted Solution

by:
pablouruguay earned 2000 total points
ID: 18808256
ln -sf /usr/share/zoneinfo/Asia/Qatar  /etc/localtime

or like ibu said tzselect
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month20 days, 6 hours left to enroll

872 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