Operating System - Linux
1831462 Members
3111 Online
110025 Solutions
New Discussion

question about /sbin/clock -w

 
'chris'
Super Advisor

question about /sbin/clock -w

hi

can someone explain me the difference
between

/sbin/clock -w

and

/sbin/hwclock -w ?

by linux.


kind regards
chris
2 REPLIES 2
Michael Schulte zur Sur
Honored Contributor

Re: question about /sbin/clock -w

Hi,

concerning hwclock, read:
http://linux.about.com/library/cmd/blcmdl8_hwclock.htm

concerning clock, read:
http://www.bigbiz.com/cgi-bin/manpage?8+clock

or this:
http://www.loblolly.net/~rddecker/helppages/MiniHOWTOS/systemclock/systemclock-twoclocks.htm
http://www.mail-archive.com/linux-misc@senator-bedfellow.mit.edu/msg05915.html

It seems, two programmes for the same purpose or one for pc based and one for alpha based, or distribution dependent. Don't tell me, you got both. ;-)

greetings,

Michael

Martin P.J. Zinser
Honored Contributor

Re: question about /sbin/clock -w

Hello Chris,

well on my SuSE 8.2 clock is a link to hwclock, so no difference there ;-). If this is the same for you, you should be able to see this by doing an ls -l /sbin/clock

Greetings, Martin