What is exit status in Unix?

Trương Duy

New member
What is exit status in Unix?
Answer
Every Linux or Unix command executed by the shell script or user has an exit status. Exit status is an integer number. 0 exit status means the command was successful without any errors. A non-zero (1-255 values) exit status means command was a failure.
 

Tìm kiếm

Back
Top