TBLinux:Changing the Time Zone
Line 5: | Line 5: | ||
| | | | ||
<code> | <code> | ||
− | [root@TB005375 ]# tzselect | + | [root@TB005375 ]# tzselect<br> |
− | Please identify a location so that time zone rules can be set correctly. | + | Please identify a location so that time zone rules can be set correctly.<br> |
Please select a continent | Please select a continent | ||
1) Africa | 1) Africa |
Revision as of 10:52, 6 July 2010
The time zone of the TMG3200 is configured on the Linux host using the tzselect command. The following is provided as a sample of how to configure a time zone:
Please select a country.
1) Anguilla
Please select one of the time zone regions.
1) Newfoundland Time, including SE Labrador
The following information has been given: Canada Eastern Time - Quebec - most locations Therefore TZ= ‘America/Montreal’ will be used. Local time is now: Wed Aug 19 08:49:01 EDT 2009. Universal time is now: Wed Aug 19 08:49:01 UDT 2009. Is the above information OK? 1) Yes 2) No
You can make this change permanent for yourself by appending the line TZ= ‘America/Montreal’; export TZ to the file ‘.profile’ in your home directory; then log out and log in again. Here is the TZ value again, this time on standard output so that you can use the /usr/bin/tzselect command in the shell script America/Montreal [root@TB005373 ]#
|