LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Freeman, Peter (ERHS) <Freeman.Peter@saugov.sa.gov.au>
  To  : LinuxSA <linuxsa@linuxsa.org.au>
  Date: Wed, 28 Feb 2001 13:35:14 +1030

RE: Shell Scripts

Heh, what a great thought

	while Linux <> 100% market share do
		sleep 10y NT/2000
	done



-----Original Message-----
From: Glen Blundell [mailto:gmb@cpscu.com.au]
Sent: Wednesday, 28 February 2001 2:25 PM
To: Freeman, Peter (ERHS); Richard White
Cc: LinuxSA
Subject: Re: Shell Scripts



I really dont know much about scripts, but cant you use sleep?

eg: sleep 5m

----- Original Message -----
From: "Freeman, Peter (ERHS)" <Freeman.Peter@saugov.sa.gov.au>
To: "Richard White" <rwhite@physics.otago.ac.nz>
Cc: "LinuxSA" <linuxsa@linuxsa.org.au>
Sent: Wednesday, February 28, 2001 12:11 PM
Subject: RE: Shell Scripts


>
> I'm certain there is such a command, but I cant think of
> it off the top of my head.
> One of the script gurus on the list should know that one,
> I'm pretty sure its been mentioned on the list b4.
>
>
> -----Original Message-----
> From: Richard White [mailto:rwhite@physics.otago.ac.nz]
> Sent: Wednesday, 28 February 2001 12:21 PM
> To: Freeman, Peter (ERHS)
> Cc: LinuxSA
> Subject: Re: Shell Scripts
>
>
> Thanks Peter,
>
> Those URLs look like they'll be very useful, and nicer than the bash
> manual pages!
>
> Actually, I have a particular script query.  Is there a command that
> causes the script to pause for a specified time period?  I guess a loop
> could achieve this, but at the expense of high CPU usage.
>
> Richard
>
> Richard White
>
> Photon Engineering Pty. Ltd.
> Semiconductor and Solid-State Laser Technology
> PO Box 10269 Gouger Street
> Adelaide, SA 5000
> Australia
> Tel: +61 8 8410 4599
> Fax: +61 8 8410 4544
> http://www.photonengineering.com.au
>
>
> "Freeman, Peter (ERHS)" wrote:
> >
> > I'm no shell-script expert by any stretch,
> > but for shell-script nightmares, try "man bash", j/k
> > it is quite useful, like all man pages, just dont try 2
> > print it unless there's a couple spare forests handy to
> > keep paper up to the printer!
> >
> > or try:
> >
> > http://www.linuxdoc.org/HOWTO/Bash-Prog-Intro-HOWTO.html
> >
> > http://www.linuxdoc.org/HOWTO/Adv-Bash-Scr-HOWTO/index.html
>
> --
> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>
> --
> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page