title: Bash scripting print list of files
body: <p>Its my first time to use BASH scripting and been looking to some tutorials but cant figure out some codes. I just want to list all the files in a folder, but i cant do it.
  Heres my code so far.</p>
  
  <pre><code>#!/bin/bash
  # My first script
  echo "Printing files..."
  FILES="/Bash/sample/*"
  
  for f in $FILES
  do
      echo "this is $f"
  done
  </code></pre>
  
  <p>and here is my output..</p>
  
  <blockquote>
    <p>Printing files...
    this is /Bash/sample/*</p>
  </blockquote>
  
  <p>What is wrong with my code?</p>