title: Shell script for executing hbase commands - Deleting all hbase tables
body: <p>I want to delete all tables in HBase. I am using HBase shell commands for doing this operation: </p>
  
  <pre><code>$ hbase shell
   &gt; disable_all .*
   &gt; drop_all .*
  </code></pre>
  
  <p>How can i write a shell script for doing this operations ?</p>
  
  <p>Note: While executing above commands, it asks for the user confirmation i.e y/n before disabling and dropping all tables.</p>