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