Home / Tag Archives: diff

Tag Archives: diff

February, 2010

  • 17 February

    How to merge two different files in Linux

    In yesterday’s post, we learned how to find the discrepancies between two similar files using a command called diff. With it, we were able to compare them and identify the actual lines containing differences. Once you have identified the differences between the two, you have a couple of options. If …

  • 16 February

    How to compare two files in Linux

    Question: I have two scripts in a directory on my server. One is the right one and one is not, but I do not remember which is which. How can I compare the two files? Answer: Linux and UNIX-like operating systems usually come with a comparison command called “diff”. This …