Solved

Linux RedHat TimeZone

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.:
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now