Comments on: 10 Best File Comparison and Difference (Diff) Tools for Linux https://www.tecmint.com/best-linux-file-diff-tools-comparison/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Mon, 24 Jul 2023 04:34:59 +0000 hourly 1 By: Ravi Saive https://www.tecmint.com/best-linux-file-diff-tools-comparison/comment-page-3/#comment-2037329 Mon, 24 Jul 2023 03:56:12 +0000 http://www.tecmint.com/?p=21305#comment-2037329 In reply to david.

@David,

You are correct, and I apologize for not mentioning sdiff in article.

sdiff is a command-line tool available in many Linux distributions, including Fedora and RHEL, and it is used to display two files side-by-side, highlighting the differences between them.

]]>
By: david https://www.tecmint.com/best-linux-file-diff-tools-comparison/comment-page-3/#comment-2036686 Sat, 22 Jul 2023 19:37:08 +0000 http://www.tecmint.com/?p=21305#comment-2036686 You didn’t mention sdiff, which is installed by default, at least in Fedora/RHEL that displays both files side-by-side.

I use sdiff extensively. It has an option -w n to select the column width for display.

That’s really the only option I need.

$ sdiff [-w n] file1 file2
]]>
By: VISSERS https://www.tecmint.com/best-linux-file-diff-tools-comparison/comment-page-2/#comment-1912087 Wed, 09 Nov 2022 08:07:29 +0000 http://www.tecmint.com/?p=21305#comment-1912087 I wanted to say that I advise you not to waste your time with text diff. A human has difficulties understanding the diff between a text diff.

I have just tried kompare file1.txt file2.txt and it does a good job to show you the diff.

]]>
By: Chris Koknat https://www.tecmint.com/best-linux-file-diff-tools-comparison/comment-page-2/#comment-1363886 Mon, 14 Sep 2020 19:35:06 +0000 http://www.tecmint.com/?p=21305#comment-1363886 I’ve created a free Linux tool to compare files while ignoring differences in whitespace.

It has many other options for ignoring comments or timestamps, sorting the input files, doing search/replace, ignoring certain lines, etc.

After preprocessing the input files, it runs the Linux tools meld, gvimdiff, tkdiff, or kompare on these intermediate files.

To download it from Github:

  1. https://github.com/koknat/dif
  2. Click on the green “code” button to download the script
  3. Installation is not required, just run the ‘dif’ executable
  4. ./dif file1 file2
]]>
By: R https://www.tecmint.com/best-linux-file-diff-tools-comparison/comment-page-2/#comment-1354925 Thu, 20 Aug 2020 05:09:53 +0000 http://www.tecmint.com/?p=21305#comment-1354925 Thanks! (Xubuntu > All applications > Software > (Search for) Meld.

]]>