title: Confused on ls command that lists absolute paths of directories
body: <p>I found code online that lists the absolute paths of all directories in the current directory:</p>
  
  <blockquote>
    <p>ls -d "$PWD"/*</p>
  </blockquote>
  
  <p>The code works as expected, but I'm confused on how it works and the function of "/*" at the end.</p>