Changing the time zone on CentOs from the shell

Changing the time zone on CentOs from the shell

You can enter the command date to view the current time zone

To change the time zone you need to create a link from the appropriate location under “/usr/share/zoneinfo/..” to “/etc/localtime”

For example;

ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime

 

 

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.