how can I search for the number of txt Files in my Folder. i tried many things but nothing works.
ls -1 *txt gave the list of txt's but i Need the number!
I also tried some combinations but that didnt work also. ls-1 *txt | wc -1
hopefully you can help me thank you.