Comparison of the contents of two text file in Ubuntu

5k Views Asked by At

I have two text files with 2.4M. I like to compare what are the differences in these two text files. I used Kompare. It worked but it is slow for a big file size. Looks like never finish the comparison.

What could be the best software in Ubuntu or Windows to compare and visualize the contents of two text files .

2

There are 2 best solutions below

5
kimdasuncion12 On BEST ANSWER

You should try diffuse

sudo apt-get install diffuse
diffuse file1 file2

Or Meld Diff Viewer Here's a link

0
Paresh Chauhan On

You need to use diff command to display line-by-line difference between two files.

The general syntax of diff command as follows:

diff FILE1 FILE2