title: For files in directory, ignoring folders
body: <p>Iterating a for loop, how do I make sure it ignores outputting directories?</p>
  
  <pre><code>for filename in /home/user/*
  do
    echo $filename
  done;
  </code></pre>