title: Bash - get basename from loop
body: <p>I am trying to get <code>basename</code> from loop but this only returns me <code>"*"</code>.</p>
  
  <pre><code>FILES=("/home/aaaa/bbbb/*") #Get all folders
  for f in "${FILES[@]}"
  do
    basename "$f"
  done
  </code></pre>
  
  <p>What I am doing wrong?</p>