I need to calculate md5sum of all files in a directory and print them in a line if their md5sum is same. for example, if we calculate md5sums:file1, md5sum abcdefgh    file2, md5sum 21safdsgfile3, md5sum abcdefghfile4, md5sum 21safdsgthe output should look like this:file1, file3, abcdefghfile2, file4, 21safdsgIt can be a script or a command. I've run out of ideas.
Show pairs of files with same m5dsum
scripting;hashsum