Ok this is strange. I am using this code,
To list all the files with the .prj extension in the dir but I am getting this error,
bash: /bin/ls: Argument list too long
I eventually wish to get the count of files and I was using,
ls *.prj | wc -l
But even this command is giving the same error. Any idea where I am going wrong?