or in if bash code example
Example 1: bash or
if [ "$1" = "a.txt" ] || [ "$2" = "c.txt" ]; then
# do smt...
fi
Example 2: if and if bash
if [ "${STATUS}" != 200 ] && [ "${STRING}" != "${VALUE}" ]; then
Example 3: bash if
#!/bin/bash
foo="qux"
bar="qux"
if [ "$foo" = "$bar" ]; then
echo "The strings are equal."
else
echo "The strings aren't equal."
fi