How to merge two text file together in RHEL system?

Asked By 10 points N/A Posted on -
qa-featured

Hi I am  zion,

I need some help about merging two files together in Red Hat Linux, any one can help me please.

SHARE
Best Answer by Taylor Laura
Answered By 0 points N/A #132574

How to merge two text file together in RHEL system?

qa-featured

Hi again  Zion, in Linux system you will find a helpful command is given below.

Merge file together
# paste -d: test1.txt test2.txt  >  test3.txt

Here pest is a command that makes files together, first files content will take places top of the converted file and second files content will take places underneath the first files contents in the converted file.

Britnu Salu

Best Answer
Best Answer
Answered By 15 points N/A #196509

How to merge two text file together in RHEL system?

qa-featured

Hi Jabez,

There's a program known as KDiff3 widely used by programmers, and it can work in any UNIX operating system. 

It can merge and compare two or three text files or directories.  

Below is an image on how it will look like if you are merging or comparing two files:

Here's how it would look like if you are comparing directories:

These are just few of the benefits you can enjoy of using KDiff3.  To can download KDiff3 program at Sourceforge.net, it comes with a tutorial on how to install and how to operate it in your system.

Related Questions