title: Linux command to print directory structure in the form of a tree
body: <p>Is there any linux command that I can call from a Bash script that will print the directory structure in the form of a tree, e.g.,</p>
  
  <pre><code>folder1
     a.txt
     b.txt
  folder2
     folder3
  </code></pre>