Differences between revisions 1 and 2
⇤ ← Revision 1 as of 2006-07-29 07:26:08
Size: 409
Comment:
|
Size: 408
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 11: | Line 11: |
echo 'export TZ="UTC"' >> ~/.profile | echo 'export TZ="UTC"' >> ~/.bashrc |
Timezone
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
- ["CategoryFAQ"]