5

Check error

view full story
linux-howto

http://www.unix.com – I have a script is as below , if the output of the script is 0 , then echo abc . script1 if [[ $? = 0 ]]; then echo abc fi Can advise if I would like to change it , check the output , if the output only have the wold "0" , then echo abc , if the output have other word , then do nothing , can advise what can I do ? thanks. (HowTos)