Importance of carefully selected script exit code and Prevelant approaches for shell script in Linux