Solved

Linux RedHat TimeZone

Posted on 2007-03-28
5
1,518 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 500 total points
ID: 18808256
ln -sf /usr/share/zoneinfo/Asia/Qatar  /etc/localtime

or like ibu said tzselect
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

778 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