title: Checking duplicates in terminal?
body: <p>The following code prints me a long list of files with hashes and file names</p>
  
  <pre><code>md5sum *.java
  </code></pre>
  
  <p>I have tried unsuccessfully to list the lines where identical hashes occur, so that I can then remove identical files.</p>
  
  <p>How can you filter and delete identical files which have same content?</p>