How to set time(zone) on unix server


Step1
List timezones with command below.

timedatectl list-timezones

Step2
Find the desired timezone in list.

Step3
Set timezone with the command below.

timedatectl set-timezone <TIMEZONE>


Step4
Check the if the timezone has been changed with the command below.

timedatectl

Leave a Reply

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