I would like to see all the unique extension of files contained in a certain directory. What is the command to do that in bash?
One could use find . -type f to get all the files in the current directory, then strip the extension, and pipe it to uniq. What's the easiest way to strip the extension?