title: how to do multiple search in installed RPM packages?
body: <p>how to do multiple search in installed RPM packages? </p>
  
  <pre><code>$ rpm -qa | grep 'mysql' 'jdk' 'jre'
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$ rpm -qa | grep  mysql &amp;&amp; rpm -qa | grep jdk &amp;&amp; rpm -qa | grep jre
  </code></pre>