Change Timezone on Linux Redhat / Centos distros

By | July 22, 2009

To change the timezone from the cli, the following command will be usefull, the command below changes the operating system timezone to Malta.
cp /usr/share/zoneinfo/Europe/Malta /etc/localtime

if you want to change it to a different country
ls /usr/share/zoneinfo/Europe
to see different countries in europe. and change the command the choose your country instead
to see Global
ls /usr/share/zoneinfo/
And select your Continent directory where you can find a larger list of places.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.