Dotan Cohen wrote:
> On Mon, May 30, 2011 at 17:55, Bob Beers <bob.be...@gmail.com> wrote:
>> You can check the return code.
>>
>> $ ls
>> $ echo $?
>>
>> 0 (usually) indicates success.
>>
> 
> Thank you Bob, that is exactly what I was looking for!
> 
> 
> 
Take notice that you can use $? *only* once. So if you ever need to 
reuse that status, you must first assign exit code to a variable and 
then evaluate variable.

Ljubomir
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to