SyntaxFix
Write A Post
Hire A Developer
Questions
<run your last command on this line> a=${?} if [ ${a} -ne 0 ]; then echo "do something"; fi
use whatever command you want to use instead of the echo "do something" command
echo "do something"