Install icdiff by entering the following commands in the terminal:
sudo apt update sudo apt install icdiff
Description:
terminal side-by-side colorized word diff
By highlighting changes, icdiff can show you the differences between similar files without getting in the way. This is especially helpful for identifying and understanding small changes within existing lines. Instead of trying to be a diff replacement for all circumstances, the goal of icdiff is to be a tool you can reach for to get a better picture of what changed when it's not immediately obvious from diff.
Homepage: http://www.jefftk.com/icdiff
Version: 1.9.1-2
Section: universe/utils