title: Bash script print commands, but do not print echo command
body: <p>I would like to write a bash script the prints the commands. But for readability purposes, I do not want it to print the echo commands. Unfortunately, I cannot find the correct settings for my bash script to achieve this. I need help?</p>
  <pre><code>#!/bin/bash
  
  # Makes the bash script to print out every command before it is executed
  set -v
  
  echo &quot;Cleaning test database&quot;
  RAILS_ENV=test bundle exec rake db:drop
  echo &quot;************************************************************&quot;
  echo &quot;&quot;
  
  echo &quot;Setting up the test database&quot;
  RAILS_ENV=test bundle exec rake db:setup
  echo &quot;************************************************************&quot;
  echo &quot;&quot;
  </code></pre>
  <p>The output looks like:</p>
  <pre><code>echo &quot;Cleaning test database&quot;
  Cleaning test database
  RAILS_ENV=test bundle exec rake db:drop
  echo &quot;************************************************************&quot;
  ************************************************************
  echo &quot;&quot;
  
  
  echo &quot;Setting up the test database&quot;
  Setting up the test database
  RAILS_ENV=test bundle exec rake db:setup
  </code></pre>
  <p>As you can see it prints out all the commands including the echo command, which I do not want to see.</p>