title: How can I find all of the distinct file extensions in a folder hierarchy?
body: <p>On a Linux machine I would like to traverse a folder hierarchy and get a list of all of the distinct file extensions within it.</p>
  
  <p>What would be the best way to achieve this from a shell?</p>