Views:
1,156
Votes: 1
✅ Solution
Tags:
command-line
gnome-terminal
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/1160058
Title:
terminal - count how many types of (file) extensions exist with their associated files in current directory
ID:
/2019/07/22/terminal-count-how-many-types-of-_file_-extensions-exist-with-their-associated-files-in-current-directory
Created:
July 22, 2019
Edited: July 22, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
The duplicate candidate (deep down) has a close answer. Here it is modified:
find . -maxdepth 1 -type f | sed 's/.*\.//' | sort | uniq -c