Wednesday, December 17, 2008

Linux command of the week

I was working on my system today and was wondering, "How can I see the differences between two files?"

Well, the answer is ... the
diff command.

The
diff command will show you the differences between 2 files and the line numbers of where the two files differ.

eg $ diff file1 file2

http://blog.biggsk.net/?p=114

2 comments:

Anonymous said...

I love, love, love the Linux command of the week..I am such a terminally-challenged Linux user lol

kpb said...

Your quite welcome!! Ive decided to start learning more about the CLI myself, and thought this would be a good way to do it, while helping others! Thanks for stopping by!