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/