jacob
asked Feb 17 2017
Answer
There is a command in linux to compare the files. The command name is diff.
For example: If you are having two files called test1 and test2.
# diff test1 test2
Or else check with vim editor as follows,
# vim -d test1 test2
jagannatharumugam
asked Feb 19 2017
edited Oct 05 2018
how to compare two files in linux
How can I compare two files from command-line. Is there any tool which works on command-line...??