Linux-Hams archive - January 1999: Re: Time Zone Change?

Re: Time Zone Change?

Damian A Ivereigh (nxem@fasternet.com.br)
Mon, 04 Jan 1999 10:25:15 +1100


zgm.vbzgja@city-lakecharles.org wrote:
>
>
> Hello All,
>
> How can I change the time zone in my Linux box. When I installed Linux I chose
> the PST zone but now I want to change it to UTC....
>
> Thanks in advance!
>
> Paul Delaney
> kb2shu.ampr.org [44.16.2.46]

I am looking at a RedHat Linux box, hopefully yours will be the same.

If you look at /etc/localtime you will see it is symlinked to
../usr/share/zoneinfo/PST8PDT or possibly ../usr/share/zoneinfo/US/Pacific.

The easiest way is just to remove /etc/localtime and symlink it to
../usr/share/zoneinfo/UTC. After you do this, you will need to reset the clock on your
machine of course (use date). If you need to know the exact commands, let me know.

Damian

-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * Sydney, Australia     *
* Linux Bigot         * ..:||||||:..:||||||:.. * +61 2 8448 7344       *
* samj@parks.lv    *   cisco Systems, Inc.  * Fax: +61 2 8448 7228  *
*______________________________________________________________________*