I was wondering if anyone can tell me how I can catch and use the return of a command, if I run a command and the return says SUCCESS, how can I catch that and say something like :
If the result is success do something if not exit, I know how to do the conditional statement, but I do not know how to catch the result, thanks.
If the result is success do something if not exit, I know how to do the conditional statement, but I do not know how to catch the result, thanks.