How to list and compare the similar files from different directories using single command on Linux?
Let's suppose there are three files
c in directory
c files in another directory,
How can I list and compare similar files using a single command?