So basically I want to test if 3 variables are 0. If one of them is not it should report it. This is what I got:
if [[ $result -ne 0 && $resultmax -ne 0 && $resultmin -ne 0 ]] then echo "There is something terribly wrong." fi
It does not work. Any idea where I messed up?