How Do I Change Timezone on Linux 6?
Contents to Change Timezone on Centos/Rhel 6/5 We Can Simply Link /Etc/Localtime File with Correct Timezone Configuration File. for Example We Are Setting...
Contents
To change timezone on CentOS/RHEL 6/5 we can simply link /etc/localtime file with correct timezone configuration file. For example we are setting America/Los_Angeles as our local system timezone. Your timezone has been changed successfully.
How do I change the timezone in Linux?
To change the time zone in Linux systems use the sudo timedatectl set-timezone command followed by the long name of the time zone you want to set.
Must Read
How do I change timezone from IST to UTC in Linux?
Convert the UTC to IST in linux
- 1.First search for the available time zone by the below command. …
- Then unlink the current timezone sudo unlink /etc/localtime.
- 3.Now set the new timezone. …
- For example sudo ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime.
- Now check the DateTime using date command.