Change timezone in Linux

Change timezone in Linux

Here’s a quick tip that I’ll need to keep getting back to every now and then.

In Centos:

ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
 

In Debian:

timedatectl set-timezone Asia/Kolkata

Leave a Reply

%d bloggers like this: