Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Feb 072007
 

Setup default system timezone in Linux

Answer:

To setup the default system timezone in Linux.

1. Check what timezones are available in your system

# ls /usr/share/zoneinfo/

...
Australia  Canada   EST    ..
..

2. From the list above, pick one you want to set, e.g. Canada

# sudo ln -sf /usr/share/zoneinfo/Canada /etc/localtime

That's all.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>