if [ \( 1 -eq 1 \) -a \( 2 -eq 1 -o 1 -eq 1 \) ]
then
echo "OK";
else
echo "KO";
fiDocumentation : http://wiki.bash-hackers.org/commands/classictest
if [ \( 1 -eq 1 \) -a \( 2 -eq 1 -o 1 -eq 1 \) ]
then
echo "OK";
else
echo "KO";
fiDocumentation : http://wiki.bash-hackers.org/commands/classictest