how to Compare between 2 files

how to comapre between 2 files to list the differences between them ???

there is a greate 2 commands which you can use them.

first command is

diff  FILE1  FILE2

and this command just display the difference between the 2 files.

second one is

sdiff   FILE1   FILE2

and this display all lines and put piping on difference lines.

This entry was posted in AIX and tagged , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.