Set Different Time Zone
We can change time zone temporarily by using TZ Environment Variable but for permanent change we can use following ways to set different time zone in linux.
Using timedatectl
$ sudo timedatectl set-timezone {TIME_ZONE}Example
$ sudo timedatectl set-timezone Asia/KolkataUsing symbolic link
Firstly, we to remove current symbolic link by -
$ sudo rm -rf /etc/localtimeThen subtitute your time zone in following command
$ sudo ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtimeVerify it by running date command
Source: Linuxize
Last updated