whats the command that reports program success?
I remember a command that would do something like output a 0 if the previous program completed successfully and a 1 if it had errors, but i can't remember anything else about it. can somebody help jog my memory?
|
The variable $? holds the exit status of the last command.
|
oh yeah. so echo $? would do it i guess.
|
All times are GMT -5. The time now is 05:49 AM. |