title: Multiple conditions for if statement unix
body: <p>i want to make an if statement with multiple conditions, but is not working, I tested it. Every LOC variable contains an integer number. I think the problem is the syntax. I'm doing a bash script.  </p>
  
  <pre><code>if ((([ "$LOC_B_REF" -lt "$LOC_A_Q" ] &amp;&amp; [ "$LOC_A_Q" -lt "$LOC_A_REF" ]) &amp;&amp; [ "$LOC_B_REF" -gt "$LOC_B_Q" ]) &amp;&amp; [ "$LOC_B_Q" -gt "$LOC_A_REF" ])
  
  then
  
  ###do my thing 
  
  fi
  </code></pre>
  
  <p>Thank you guys!</p>