5 The following statements are related to the return value o
5) The following statements are related to the return value of Unix process. Which one is
(are) the true statement(s)?
(a) Every Unix process terminates with an exit value
(b) The returned value 0 means success for Unix process.
(c) All built-in commands return 0 when they fail
(d) None of above
Solution
(a) Every Unix process terminates with an exit value. True.
(b) The returned value 0 means success for Unix process. True.
(c) All built-in commands return 0 when they fail. False. The commands successful execution means it returns 0.
