Ubuntu

Change Timezone in Ubuntu 20.04 – Simple method

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

Gokul Deepak S

View Comments

Published by
Gokul Deepak S

Recent Posts

Running crontab on AWS auto scaling group

Linux has a convenient feature of running cronjob which will get executed at the correct…

11 months ago

Learn with Gokul

As famous Tamil poet Auvaiyar said "Katradhu Kai Mann Alavu, Kallathathu Ulaga Alavu" which is…

11 months ago

Terraform Cheat sheet

Terraform Cheatsheet with pdf. You can download Terraform Cheatsheet pdf with all Terraform CLI commands…

11 months ago

Strategy to prepare for Terraform Associate Exam Preparation

I was planning to do Terraform certification a long time ago. I have worked on…

11 months ago

Runcloud vs SiteGround Comparision

As a user of both of these services has got multiple benefits with both of…

2 years ago

Important Docker Commands to remember

You need not memorize these important docker commands. Repeated usage will make it easy for…

2 years ago

This website uses cookies.