List most used file types in the current directory and subdirectories
find . -type f | sed -rn 's|.*/[^/]+\.([^/.]+)$|\1|p' | sort | uniq -c | sort -rn
Finds and displays the most common file extensions in the current directory and subdirectories, counting occurrences of each type and sorting them by frequency.