Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

Change the time zone in Linux - using command line

Date: 2010-09-12 00:00:00 -0400

To change the time zone in Linux, using the command line just enter this commands, do not worry they are few and easy.

cd /usr/share/zoneinfo

Look for your city, in my case it is:

America/La_Paz

Now create a link to the file /etc/localtime by doing this:

sudo ln -sf /usr/share/zoneinfo/America/La_Paz /etc/localtime

And you are done.

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.