baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: qwms-avib AT dea.spamcon.org
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] help on understanding script
- Date: Fri, 16 May 2003 09:41:52 +0000
James Miller wrote:
>
># cat /sbin/timehosts
>
>#!/bin/sh
>#now to set the system date to the most reliable time server
>netdate 129.6.15.28 132.163.4.102 131.107.1.10 207.200.81.113
>
> I don't understand the previous line - the
> # cat /sbin/timehosts part.
I don't think it is part of the script.
> Could someone help by clueing me in on what this is
> supposed to do?
It appears to me that the author has named his script
'timehosts' and keeps it in his /sbin directory. He
is using cat to display the script.
> Same question holds for the following script, which is
> supposed to autoupdate the date in CMOS:
>
> # cat /sbin/setdate
>
> #!/bin/sh
> #lets see what the current system date is
> echo The current System date and time is
> date
> echo the CMOS/Hardware clock date/time is
> clock -r
It appears he has named this script 'setdate' and
it is in the /sbin directory.
Cheers,
Steven
-
[BL] help on understanding script,
James Miller, 05/15/2003
-
Re: [BL] help on understanding script,
qwms-avib, 05/15/2003
-
Re: [BL] help on understanding script,
James Miller, 05/16/2003
- Re: [BL] help on understanding script, Neo Sze Wee, 05/16/2003
-
Re: [BL] help on understanding script,
keesan2, 05/16/2003
- Re: [BL] help on understanding script, qwms-avib, 05/16/2003
-
Re: [BL] help on understanding script,
James Miller, 05/16/2003
-
Re: [BL] help on understanding script,
qwms-avib, 05/15/2003
Archive powered by MHonArc 2.6.24.