Small question regarding a Shell command please.
I have a top level folder, which contains files of different types of extensions. For instance, the folder contains files .java, .xml, etc...
Under this top level folder, it contains also underlying folders, child folders, which themselves contains same and/or other types of files, and possibly other child folders.
I am trying just to list all the types of files under the top level folder, all the way down.
I tried using the command find, but it requires me to know in advance all the types, which I do not know.
May I ask, what is the correct command to get all types of files please?
An expected result output would be like:
- .java
- .xml
- .png
(if possible, with the count, but totally ok if not)
- .java 86
- .xml 23
- .png 42