How can I find all of the distinct file extensions in a folder hierarchy? How can I find all of the distinct file extensions in a folder hierarchy? linux linux