title: Listing only directories using ls in Bash?
body: <p>This command lists directories in the current path:</p>
  <pre class="lang-bash prettyprint-override"><code>ls -d */
  </code></pre>
  <p>What exactly does the pattern <code>*/</code> do?</p>
  <p>And how can we give the absolute path in the above command (e.g. <code>ls -d /home/alice/Documents</code>) for listing only directories in that path?</p>