Question: how to check the difference between 2 files in unix?
Answer: Unix Video #8: #1) cmp: This command is used to compare two files character by character. #2) comm: This command is used to compare two sorted files. #3) diff: This command is used to compare two files line by line. #4) dircmp: This command is used to compare the contents of directories.