Question: what is the difference between exit 0 and exit 1 in unix?
Answer: exit(0) usually indicates that all is well, whilst exit(1) indicates that something has gone amiss. exit(0) means Program(Process) terminate normally successfully.. exit(1) means program(process) terminate normally unsuccessfully..