View previous topic :: View next topic |
Author |
Message |
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Wed Jul 03, 2002 6:02 pm Post subject: Time/Date configuration - n00b here :) |
|
|
Well I have crontab set up and running, but the time and date of my server are WAY off. I know how to change the time and date in KDE or GNOME, but I'm not sure how to do it in CLI through SSH. Does anyone know the command to edit time/date?
Thanks
-Rain
I don't really need the time and date to be changed, but it would save me some time. _________________ ^M = Death by notepad
http://www.raindesigns.com
Last edited by Rain Designs on Thu Jul 04, 2002 3:46 pm; edited 1 time in total |
|
Back to top |
|
|
ZagiFlyer Tux's lil' helper
Joined: 19 Apr 2002 Posts: 93 Location: San Jose, CA
|
Posted: Wed Jul 03, 2002 6:02 pm Post subject: |
|
|
First make sure you are using your local time and not GMT (unless you are using GMT on purpose):
(from the installation HOW-TO http://www.gentoo.org/doc/en/build.xml#doc_chap13:
ln -sf /usr/share/zoneinfo/path/to/timezonefile /etc/localtime
If the link is correct, double-check the time in your BIOS. _________________ "Beer is proof that God loves us and wants us to be happy"
--Ben Franklin
Last edited by ZagiFlyer on Thu Jul 04, 2002 3:47 pm; edited 3 times in total |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20496
|
Posted: Wed Jul 03, 2002 6:02 pm Post subject: |
|
|
'man date' should tell you what you need. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Sesquipedalian n00b
Joined: 22 May 2002 Posts: 62 Location: Loveland, CO
|
Posted: Wed Jul 03, 2002 6:02 pm Post subject: |
|
|
the 'date' command should do it:
date MMDDHHMM |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jul 03, 2002 6:02 pm Post subject: |
|
|
Also, look into the ntp package. It will keep you nicely synchronized with a time server.
kanuslupus wrote: | 'man date' should tell you what you need. |
|
|
Back to top |
|
|
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Wed Jul 03, 2002 6:02 pm Post subject: |
|
|
awesome! I love this forum! You guys respond so fast!
Thanks a lot!
-Rain _________________ ^M = Death by notepad
http://www.raindesigns.com |
|
Back to top |
|
|
|