13 February 2022
Every linux or bash program has an exit status, these are the main points:
These points are also used in programs written in high level language, such as Java, python,... , to inform the caller about the outcome.