Get exit code for command in bash/ksh Get exit code for command in bash/ksh unix unix