How 2 Know
If you can't Google it, You Can Knowing it.

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.

Leave a Reply

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

Discover more from How 2 Know

Subscribe now to keep reading and get access to the full archive.

Continue reading