how to write if with or in bash script code example
Example 1: bash or
if [ "$1" = "a.txt" ] || [ "$2" = "c.txt" ]; then
# do smt...
fi
Example 2: ash if statment
if [ "$USER" == "Adam" ]
then
echo "User is Adam"
else
echo "User is not Adam"
fi