LinuxSoftware

Coding and tramping in Aotearoa / New Zealand

Time

Commands

ntp
hwclock
time

Files

/etc/sysconfig/clock
/etc/adjtime

Timezones

TODO: write up how to change timezones

export TZ="Pacific/Auckland"

Just modifies the user logged in with that environment.

/etc/timezone

Is a Debian thing.

lrwxrwxrwx 1 root root 33 May 30 00:59 /etc/localtime -> /usr/share/zoneinfo/Europe/London

Is the RedHat way.

A reboot is probably required after changing this.

Here's a good article on Linux time handling: http://www.linuxsa.org.au/tips/time.html