-   Linux - Newbie (
-   -   Diff compare 2 files (

DavidTempler 11-01-2004 08:58 AM

Diff compare 2 files

I am trying to get to grips with diff

I read the manaul but I want to show the difference only between two files

I use diff -u <file1> <file2>

but it would be easier for me to just see what is different in <file2>

Is this possible or do I need to use something else?

Dave T.

ksgill 11-01-2004 10:01 AM

diff -y
this should give u output in two columns, side by side for file1 and file2. Its all in the manual.

DavidTempler 11-01-2004 11:00 AM

Thank you very much:D

All times are GMT -5. The time now is 12:59 PM.