Empulse Group a collection of notes from a sys admin, musician, and father

2Feb/080

Changing Timezone in Linux

Alright, it's been a while since I've posted something. This new job has me so busy I can barely think. Here's a few simple steps for changing your timezone in linux, as well as updating the time:

$ mv /etc/localtime /etc/localtime-old
$ ln -s /usr/share/zoneinfo/GMT /etc/localtime
$ /sbin/hwclock --systohc
$ date
$ date --set="Sat Feb 2 13:29:00 GMT 2008"

Filed under: Linux No Comments