Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-21-2003, 01:08 PM   #1
LQ Newbie
Registered: Jul 2003
Location: Rio
Distribution: RedHat 7.2
Posts: 21

Rep: Reputation: 15
Question How to change the place/date of my RedHat?

Hello People...
Here, in Brazil, we adopted a 'summer time', putting all the clocks 1 hour forward since last Sunday 19th.
Well, I have a MRTG in a little machine that can not run graphic interface. So, I know how to change the clock, don't know how to change the place.
Let me explain better:

MRTG uses an incremental format of date. You can see it doing:
date +%s
But this number is referenced by UTC/Greenwich.
I am at Rio de Janeiro (GMT - 3). But at 'summer time', we become GMT-2.
date +%s remains with the same number, because Greenwich doesnt change. What we plan to do ? We want to move Rio 1 hour back in the map (in order to maintain the 3-hour distance in relation to Greenwich) and after put the clock 1 hour forward. That way, we fix the clock and maintain the relation intact.

So, we dont have graphic interface. In which file we find the time/local configuration ? We use Red Hat 7.2

Old 10-21-2003, 05:01 PM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
From a command line type setup
One of the options will be Timezone setup
man timeconfig
Copy one of the timezone files from /user/share/zoneinfo/ and name it /etc/localtime.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Date hansi umayangan Linux - General 2 03-01-2005 01:17 AM
Change Date hansi umayangan General 1 02-28-2005 01:02 AM
Definitive place to change bash settings in Slack? CodeWarrior Slackware 2 05-17-2003 09:04 AM
Change date mbayeb Linux - General 2 01-31-2003 09:57 AM
Change Date ?? joetec Linux - General 1 01-08-2003 08:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration