At 1:05 PM -0400 4/3/00, [log in to unmask] wrote:
>I am sorry to ask such a basic question, but I don't remember how to check
>in a script if a previous command ended correctly. What do I check to find
>out if something worked?
>
>Thanks in advance for answering a basic question,
>David
Check the built-in shell variable "$?". That should give you the exit value
of the last executed command.
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.com
(408)252-2330