Side by Side diff on the command line

I have recently discovered a handy trick when comparing files on the command line.

Adding the -y command line options to diff will display the files side by side.

Using this with the Color Diff tool will help you transform this

Image

To this

Image


Tags: developmentlinuxsolutionbashscripttip