This method to change timezone works for both Ubuntu 18.04 and Ubuntu 20.04
timedate ctl
Shows the time of server
To change, search for your timezone from the available list and copy the text
timedatectl list-timezones | grep Kolkata
Unlink the present server Timezone
sudo unlink /etc/localtime
Now set the time zone
The syntax for setting the new time zone is as below
sudo ln -s /usr/share/zoneinfo/[zone/timezone] /etc/localtime
For example sudo ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
Mission successful
Now check date and time using timedatectl
Linux has a convenient feature of running cronjob which will get executed at the correct…
As famous Tamil poet Auvaiyar said "Katradhu Kai Mann Alavu, Kallathathu Ulaga Alavu" which is…
Terraform Cheatsheet with pdf. You can download Terraform Cheatsheet pdf with all Terraform CLI commands…
I was planning to do Terraform certification a long time ago. I have worked on…
As a user of both of these services has got multiple benefits with both of…
You need not memorize these important docker commands. Repeated usage will make it easy for…
This website uses cookies.
View Comments
it worked