#!/bin/sh /bin/sh st=$? if [ $st -eq 0 ] then echo "Success!" elif [ $st -eq 1 ] then echo "I'm a failure!" fi