How to Change the Timezone on Linux.
Proper time and timezone play an important role in Linux. It is easy to check time in your geo format. If you have the proper time and timezone. It will help you in monitoring events easily.
Table of Contents
Prerequisite to fix Timezone on Linux
- The physical connection to the server.
- Bit experience in the Linux terminal.
- The notepad of your choice Here will use the nano. You can also go with the Vi editor.
- And most of all patience
How to fix Timezone on Linux
- Run the below command to find out all the timezone
- After that run the below command and pass any timezone that you want to change. Here I want to go with the Asia/Calcutta
sudo timedatectl set-timezone Asia/Calcutta
- Run the below command to check the current timezone
This is a short and useful article to change the timezone in your Linux machine.