[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing the date



Oleg Goldshmidt wrote:

> James Olin Oden <joden@lee.k12.nc.us> writes:
>
> > Shachar Tal wrote:
> >
> > > "date -s <date>"
> > > then "clock -w"
> > >
> >
> > I don't mean to be obtuse, but I have looked for man page for the clock
> > command (date I was familiar with) and could not find one (there was one for
> > a clock system call and one for a clock tcl call).  I do have clock program
> > in /sbin could you explain to me what it does (I am assuming it does a lot
> > more than just set the firmware clock) or at least point me to somewhere I
> > can read the docs for it?  Thanks...james
>
> I don't mean to be obnoxious, but:
>
> man 8 clock
>
> "man -k clock" would help you find it.

Well I tried doing:

   find -name "clock*" -print

while in /usr/man and found only ones I did not want.  I then did what you said
(man -k) and it showed the clock entry you mentioned (clock(8)), but in
/usr/man/man8 there is not clock entry of any kind.

>

>
>
> How would you know about "man -k"? "man man", of course. ;-) You can
> also learn about "man -a" there.
>
> Well, the man page for clock(8) may be missing on your system, but
> who's to blame if that is the case?

I suppose Red Hat would be to blame as it is one of their distributions (RH 5.0
and 5.2).  I will search the net for this man page.

Thanks...james

P.S.  Requesting one to read the man page is not obnoxious.  Its were I always go
first, but...