Re: Stupid question of the day: Setting the time....
From: Larry Starr (starrl_at_dragonone.localdomain)
Date: 03/06/05
- Next message: Michael Heiming: "2.6.11 - usb-storage performance enhancement"
- Previous message: Enkidu: "Re: Stupid question of the day: Setting the time...."
- In reply to: Enkidu: "Re: Stupid question of the day: Setting the time...."
- Next in thread: Sir Jackery: "Re: Stupid question of the day: Setting the time...."
- Reply: Sir Jackery: "Re: Stupid question of the day: Setting the time...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Mar 2005 23:24:46 -0600
In article <422a78a2$1@news2.actrix.gen.nz>, Enkidu wrote:
> Nathan wrote:
>> This is sort of a silly question, but i cant seem to find the answer.
>>
>> From the console, how do i set the date/time in linux? ita RH8 if that
>> makes a difference. I know rebooting and changing the time in the bios
>> setup is one way, but im not actually at the server, i just want to ssh
>> in, and issue a command to change the time. Its only a few min off, i
>> just want to correct it.
>>
> Eeek! You don't change the date and time by using the BIOS!
> That's crude!
>
> Set your timezone using whatever process your distro uses.
> (In debian run "tzconfig"). Set the date with the date
> comman ("date MMDDhhmm"). Set your system to use UTC if you
> wish (I do. edit /etc/default/rcS in Debian), and finally
> write the date/time to the hardware clock (hwclock --systohw
> --utc) and you are done.
>
> Cheers,
>
> Cliff
>
If you just want to correct the time, every once in a while, you
may want to take a look at the "ntpdate" command. No need to set
up ntp, just find a time server and, while connected to the
internet:
ntpdate <timeserver.url>
Hope this helps.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
- Next message: Michael Heiming: "2.6.11 - usb-storage performance enhancement"
- Previous message: Enkidu: "Re: Stupid question of the day: Setting the time...."
- In reply to: Enkidu: "Re: Stupid question of the day: Setting the time...."
- Next in thread: Sir Jackery: "Re: Stupid question of the day: Setting the time...."
- Reply: Sir Jackery: "Re: Stupid question of the day: Setting the time...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|