using if condition in shell script code example Example: if and if bash if [ "${STATUS}" != 200 ] && [ "${STRING}" != "${VALUE}" ]; then