Edit History Actions Discussion



It is possible to change the timezone in the shell by exporting the TZ variable. You can do this by typing the following command:

export TZ="UTC"

This will change the timezone to UTC. To look at the available timezones list the files in /usr/share/zoneinfo

To make the changes permanent use this command:

echo 'export TZ="UTC"' >> ~/.bashrc