The diff command is used to compare two different files to see if
they match and what the differences are
diff file1 file2
However you can also use diff to see if 1 directory has the exact same files as another by using the -qr flags
diff -qr path1/ path2/
the q flag stands for quick and r for recursive