title: How to use if statement based on variable in shell script
body: <p>For a shell script the variable is a table name.</p>
  
  <pre><code>If the table name is test then execute
  
  while IFS=',' read a; do drop.sh $a; done &lt; abc
  
  or else execute 
  
  while IFS=',' read a; do create.sh $a; done &lt; abc
  </code></pre>
  
  <p>How can i achieve this in Linux</p>