[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: view the exit status from command line



Joachim Fahnenmüller wrote:

>> For example, if I do
>> 
>> $test -x debian/rules
>> 
>> I want to know if the command exited with status zero or non-zero. Can
>> this be done in a simple way?
> 
> $test -x debian/rules; echo $?
> 

Thanks. Exactly what I am after!

raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/



Reply to: