View previous topic :: View next topic |
Author |
Message |
Gruenwald Tux's lil' helper
Joined: 02 Feb 2005 Posts: 101
|
Posted: Sat Apr 09, 2005 5:21 pm Post subject: How to change time zone setting? |
|
|
Another from my endless list of noob questions...
The 'date' command gives me the following output: Code: | bash-2.05b$ date
Sat Apr 9 17:07:37 UTC 2005
|
How can I change it to to be expressed as 'CDT' rather than 'UTC'?
Also, how can I make a command line correction, if the time is incorrect?
Thanks... |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Apr 09, 2005 5:53 pm Post subject: |
|
|
Link /etc/localtime to the right timezone file in /usr/share/zoneinfo _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Gruenwald Tux's lil' helper
Joined: 02 Feb 2005 Posts: 101
|
Posted: Sat Apr 09, 2005 5:57 pm Post subject: |
|
|
I don't have /etc/localtime.
I do see /etc/timezone, though... |
|
Back to top |
|
|
bjacobt n00b
Joined: 10 Oct 2004 Posts: 35 Location: Dallas, TX
|
Posted: Sun Apr 10, 2005 5:44 am Post subject: |
|
|
you will have to make a symbolic link for localtime to exist in your /etc
do this
ln -sf /usr/share/zoneinfo/CST6CDT /etc/localtime
after that you will see the link in your /etc directory
use CST6CDT if you are in central time zone
or you can just ls /usr/share/zoneinfo to see what other zones are there. |
|
Back to top |
|
|
|