Solved

Linux RedHat TimeZone

Posted on 2007-03-28
5
1,527 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

828 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