CompTIA
LX0-102 · Question #459
You are writing a script and want to test the exit status of a process. Which of the following is true?
The correct answer is D. The normal exit value is 0. See the full explanation below for the reasoning.
Question
You are writing a script and want to test the exit status of a process. Which of the following is true?
Options
- AThe normal exit value differs.
- BYou can't test the normal exit value.
- CThe normal exit value is $EXIT.
- DThe normal exit value is 0.
How the community answered
(38 responses)- A3% (1)
- B5% (2)
- C13% (5)
- D79% (30)
Community Discussion
No community discussion yet for this question.