How to change Time in Ubuntu 18.04.4 LTS

Check the current time setup

#timedatectl


Check localtime link path


$ ls -l /etc/localtime


Check all available time zones.


#timedatectl list-timezones


Select Asia/Dhaka from the time zone


#sudo timedatectl set-timezone Asia/Dhaka


Unlink existing localtime


#sudo unlink /etc/localtime


Link local time with the new setup.


#sudo ln -s /usr/share/zoneinfo/Asia/Dhaka /etc/localtime


Finally check the time setting again.


#timedatectl

Comments

Popular posts from this blog

Disabling Zimbra's AntiSpam, Amavis and AntiVirus filtering

Cambium cnPilot E400/E410/E500 Configuration Tutorial

Error "Unable to retrive Zimbra GPG key for package validation"