Change the time and date

Mike McCarty Mike.McCarty at sbcglobal.net
Fri Dec 29 07:19:05 UTC 2006


Tim wrote:
> eng.waleed:
> 
>>>how  can I set the time and the date on FC3 from command line
> 
> 
> Brad Bonkoski: 
> 
>>man date
> 
> 
> An alternative is ntpdate.  That'll set your clock according to a

I use this little script (as root)

rdate -p -s time.nist.gov
/sbin/hwclock --systohc

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list