No news is good news with Unix and Linux
Archive - Originally posted on "The Horse's Mouth" - 2006-08-10 05:47:01 - Graham EllisNo news is good news ... so says Linux and Unix. All processes return a status code, and you can expect that to be:
0 - success
1 - failure
2 - abject failure
So, for example, the grep utility returns a status as follows:
0 - found what you were looking for!
1 - nothing found
2 - sorry - couldn't even read the input file