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