Linux/Unix diff command example

$ cat file1
Brian Jones  - The Rolling Stones
George Harrison - The Beatles
John Lennon - The Beatles
Keith Richards - The Rolling Stones
Mick Jagger - The Rolling Stones
Paul McCartney - The Beatles
Ringo Starr - The Beatles
Ron Wood - The Rolling Stones


$ cat file2
Brian Jones  - The Rolling Stones
George Harison - The Beatles
John Lennon - The Beatles
Keith Richards - The Rolling Stones
Mick Jagger - The Rolling Stones
Paul McCartney - The Beatles
Ringo Starr - The Baatles
Ron Wood - The Rolling Stones


$ diff file1 file2
2c2
< George Harrison - The Beatles
---
> George Harison - The Beatles
7c7
< Ringo Starr - The Beatles
---
> Ringo Starr - The Baatles



$ diff -y file1 file2 --w=75
Brian Jones  - The Rolling Stones    Brian Jones  - The Rolling Stones
George Harrison - The Beatles         |    George Harison - The Beatles
John Lennon - The Beatles        John Lennon - The Beatles
Keith Richards - The Rolling Stones    Keith Richards - The Rolling Stones
Mick Jagger - The Rolling Stones    Mick Jagger - The Rolling Stones
Paul McCartney - The Beatles        Paul McCartney - The Beatles
Ringo Starr - The Beatles         |    Ringo Starr - The Baatles
Ron Wood - The Rolling Stones        Ron Wood - The Rolling Stones