I would go even further and recommend that you try replacing the ; separator
between commands
with a &&

This means "if the last command was completed successfully, go on and
execute the next command".

Mike.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kelley Terry
Sent: Sunday, 26 November 2000 9:34 AM
To: [EMAIL PROTECTED]; SoloCDM
Subject: Re: [expert] Controlling Process Order/Timing


On Saturday 25 November 2000 05:54 pm, SoloCDM wrote:

> > I'm trying to force commands following each other in a script to
> execute one at a time once the preceding command has finished.
>


a simple bash shell script with the commands separated by ";" (without the
quotes) will execute each command in turn when the preceding terminates.
For
more options check out the lists section in the man page for bash.



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to