title: About "ls" , how can I just show directories only (except linked directories and hidden directories)
body: <p>I meet some problem about "ls" this command</p>
  
  <p>I want to print just only directory without hidden or linked</p>
  
  <p>but I use man ls to look the explanation , but I didn't found</p>
  
  <p>if there is a flag that I can do what I want ...</p>
  
  <p>thanks</p>
  
  <p>below is the question I am going to solve ... </p>
  
  <p>&nbsp;4. Display the visible exits</p>
  
  <pre><code>This is two commands: The first command prints "Visible exits: "
  -&gt; It must not advance the cursor to the next line.
  The second command displays the visible exits and then a period (.).
  -&gt; To prevent the linked directories contents from also displaying, you 
  will need a flag.
  -&gt; Several wildcard patterns will be needed.
  -&gt; The period will be the last of these patterns.
     The period means the current directory. But here it will seem, to
     the user, to be a period at the end of a sentence listing visible
     exits.
  -&gt; You will need to use a flag to keep the output from being
     sorted (otherwise the period will not stay at the end).
  -&gt; With several patterns to search, some may have no matches. That
     is OK, but we don't want to see warning messages. Redirect these.
  </code></pre>