How to make two different files (with their contents) equal using command in linux shell?

Posted by user2617138 on Stack Overflow See other posts from Stack Overflow or by user2617138
Published on 2013-07-25T04:59:08Z Indexed on 2013/11/06 21:54 UTC
Read the original article Hit count: 76

Filed under:

How to make two different files (their contents) equal using terminal in Linux? Suppose i have a file A in which the content is Hello world and i have a file B in which the content is Hello worlds. Now we find the difference between the 2 files using the diff or sdiff utility. Now i want to append the contents of the 2 different files into a single file or make the two different files (their contents) equal using terminal or any other utility.

© Stack Overflow or respective owner

Related posts about linux