How to Change the Timezone on Linux

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.

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
timedatectl list-timezones
1
  • 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
2
  • Run the below command to check the current timezone
timedatectl
3

Conclusion

This is a short and useful article to change the timezone in your Linux machine.

Leave a Reply

Your email address will not be published. Required fields are marked *