I wrote the script below to find the number of PDF files in a given directory. However, it instead shows all the files in the directory:
#!bin/bash message="." message1="*.pdf" ls -al $message $message1
What's wrong with the script?
Because this is what the
And that will list all the files in current directory (as specified by