Need Assistance Understanding ls -d command in linux : <p>I'm trying to wrap my head around the 'ls -d' command.</p>

<p>I run the command 'ls -d' in any given directory and all I get is a '.'</p>

<p>I run the command 'ls -d */ and I get only the directories</p>

<p>I run the command -ls -d * and I get all files, including those that aren't directories.</p>

<p>The man page just states this:</p>

<pre><code>list directories themselves, not their contents
</code></pre>

<p>Can someone please help explain how this switch is supposed to work?</p>
