[TriLUG] Set date and time

Robert A. Henderson rah at ntrnet.net
Wed Feb 13 10:33:17 EST 2002


On Tue, 12 Feb 2002, Sinner from the Prairy wrote:

> >From: "Robert A. Henderson" <rah at ntrnet.net>
> 
> >Ok, this is stupid but it's driving me crazy. I need to change the date
> >and time on a Mandrake 8.0 box. I know it's "date -s blah" but I'm having
> >trouble with the "blah" part.
> 
> This one is easy.
> 
> Start KDE. Right click on the clock at your bottom-right corner. Select the 
> option "Adjust time".
> Enter root password when prompted. Change the time. Click on 'Apply', 'OK'.
> 
> Is it that difficult? Think: Mandrake is easy.
> 
> If you want to do it through command line:
> 
> man date
> 

You are assuming the box in question has a video head on it. Or that X is
installed. No GUI, no KDE. :-)

man date doesn't really give a good example of the format. Something like
"date -s Jan-19-2001:12:12:12" would be good. 

I had to fall back on my guessing and what works on the Ciscos. Close
enough.




More information about the TriLUG mailing list