Hi Buzz,

Shrug.. David's suggestion is great if what you need is very simple.

But, from your original post, it really sounded like you wanted to write a shell script, which can be a great deal more sophisticated than just running multiple commands.

A shell script is a whole programming language, it can have IF statements, read files, perform loops, have subroutines, the whole 9 yards.

Although QShell is a unique invention of IBM's, it's extremely similar to other Unix shells. If you Google for "shell script tutorial", you'll find tons of material to start with. Then, you just need to look at the Info Center to see which parts might be slightly different in QShell.

-SK


On 3/20/2013 8:16 AM, Buzz Fenner wrote:
On Tue, 19 Mar 2013 David Gibbs wrote

If you concat the various commands together with "&&" they should run one
after another, as long as no errors occur.

david

Thanks David, that nailed it!

Buzz




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.