E em Bash
Logical AND (&&)
if [1 -gt 0 ] && [ 2 -gt 1 ]; then
echo 1;
fi
Logical OR (||)
if [1 -gt 0 ] || [ 2 -gt 1 ]; then
echo 1;
fi
Gifted Gorilla
Logical AND (&&)
if [1 -gt 0 ] && [ 2 -gt 1 ]; then
echo 1;
fi
Logical OR (||)
if [1 -gt 0 ] || [ 2 -gt 1 ]; then
echo 1;
fi
[[ ! EXPR ]] Not
[[ X && Y ]] And
[[ X || Y ]] Or