This question already has an answer here:

So I have folder with numerous different kinds of extensions. I want to know how I can quickly find the number of files in the folder, listed by their extension. So basically if my older has excel files, word files, and tar files. I want the result to show up mentioning that I have 3 excel files, 2 tar files, 2 word files etc.

marked as duplicate by Kusalananda linux Jun 3 at 15:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.