Which of the following is true?

You are writing a script and want to test the exit status of a process.

Which of the following is true?

You are writing a script and want to test the exit status of a process.

Which of the following is true?

A.
The normal exit value differs.

B.
You can’t test the normal exit value.

C.
The normal exit value is $EXIT.

D.
The normal exit value is 0.

Explanation/Reference:
Unix standards define 0 (zero) to indicate process finished without errors, and uses values other than 0 for error codes.



Leave a Reply 0

Your email address will not be published. Required fields are marked *