Originally posted by: SGLFORUM
Is it possible to capture the command status in AIX 5.3 (i.e. whether the command executed successfully).
I need to develop a script where I have to execute the command only if the previous commands exit status is 0.
Kindly guide how to capture the exit status of the command.