How to set the timezone of a server

All the time zone files are stored in folders under

/usr/share/zoneinfo

and the current time zone is linked to this at

/etc/localtime

To see the current link

ls -l /etc/localtime

Or to set the timezone – to Melbourne for example

ln -s -f /usr/share/zoneinfo/Australia/Melbourne /etc/localtime

Leave a Reply

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