title: How to check two possibilities in an if statement in a shell script?
body: <p>I need to check two variables, <code>count</code> and <code>count1</code>, for equality with 2.</p>
  
  <p>I tried the following code, but it didn't work:</p>
  
  <pre><code>if [ $count -eq 2 || $count1 -eq 2 ]; then
      echo "Condition passsed"
  fi
  </code></pre>
  
  <p>How can I fix it?</p>