[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing the date
"Peter L. Peres" wrote:
> On Thu, 18 Mar 1999, James Olin Oden wrote:
>
> >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.
>
> Next time, try this:
>
> find $MANPATH -name "clock*" -print
>
> Peter
Would not have worked. The problem was that I was using one of the new RH
distributions that instead used a program called hwclock. clock in /sbin was merely
a symbolic link to hwclock, and hwclock understood the clock switches, but actually
had its on (perhaps superior) syntax. Once I looked for hwclock all was well. Even
more maddening, though, was that if you did a "man -k" on clock it would not list
hwclock.
...james